CVE-2026-55740
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedNur-Alam39 bus-ticket (no released versions; latest commit 459cabdbeb99c00225b26e46e3c2c30ae1de7bad) contains an unauthenticated SQL injection vulnerability in bus_info.php. The busid parameter received via HTTP POST is concatenated directly into a MySQL query (select * from bus_info where id=) without sanitization, escaping, or parameterization, and in a numeric (unquoted) context.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Nur-Alalam39 bus-ticket application has an unauthenticated SQL injection vulnerability in bus_info.php where the busid parameter from HTTP POST is directly concatenated into a MySQL query in a numeric (unquoted) context without any sanitization, escaping, or parameterization. An attacker can inject arbitrary SQL using UNION-based payloads to exfiltrate data from the database.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate the vulnerable PHP fileSearch the web root directory for the file 'bus_info.php' using: find /var/www -name 'bus_info.php' 2>/dev/null or locate bus_info.phpAffected if If the file exists in the application directory structure
-
Inspect the SQL query for direct parameter concatenationOpen bus_info.php and examine the mysqli_query() call. Look for patterns where the busid POST parameter is directly inserted into the query string without any escaping, sanitization, or parameter binding. Search for $_POST['busid'] or similar variable placement inside the query string.Affected if If the code shows $_POST['busid'] or similar user input directly concatenated into the query without mysqli_prepare() and bind_param()
-
Verify the vulnerable numeric contextCheck if the busid parameter is used in a numeric (unquoted) context in the WHERE clause, such as: WHERE busid = $_POST['busid'] or WHERE busid = $busid without quotes around the valueAffected if If the busid value appears unquoted in the SQL WHERE clause (e.g., WHERE busid = $busid rather than WHERE busid = '$busid')
-
Confirm POST method handling of busidSearch the file for $_POST['busid'] and verify it is received and used directly in the query without any sanitization functions like mysqli_real_escape_string, intval, or filter_varAffected if If $_POST['busid'] is processed and inserted into the query without validation functions like intval(), mysqli_real_escape_string(), or prepared statements
You are affected if bus_info.php exists in your deployment and contains direct concatenation of the POST busid parameter into an unquoted numeric SQL query without prepared statements or input sanitization.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedReplace the vulnerable mysqli_query() call with prepared statements using mysqli_prepare() and mysqli_stmt_bind_param() to properly type-bind the busid parameter, ensuring user input is never concatenated into the query string.
- Open bus_info.php and locate the SQL query that uses the $busid POST parameter directly.
- Replace the direct concatenation with a prepared statement using mysqli_prepare, e.g., $stmt = $mysqli->prepare('SELECT * FROM bus_info WHERE id = ?'); $stmt->bind_param('i', $busid); $stmt->execute();
- Validate that $busid is an integer (e.g., using intval) before binding to ensure proper type handling.
- Test the endpoint with typical input to confirm the query works correctly.
- Change the database connection credentials from the root account with an empty password to a dedicated user with minimal privileges and a strong password.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-55740 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-55740 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data