/

CVE-2026-94110

Severity:

HIGH RISK

(7.3)

SQL Injection (CWE-89) in QCMS Content Detail Page Route

CVE-2026-94110

Deferred

Vulnerability type

Category:

SQL Injection

CWE:

CWE-74, CWE-89

Impact:

Unauthorized database access or manipulation

Severity:

HIGH RISK

(7.3)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

QCMS contains a SQL injection vulnerability in the Content Detail Page handler, where the ID argument is incorporated into database processing without adequate neutralization.

A remote attacker may be able to manipulate requests to influence SQL queries, potentially exposing or changing database content when the vulnerable route is reachable.

Affected context

The issue affects QCMS deployments up to 6.0.6 where the self_Tmp function in Lib/Config/Controllers.php handles Content Detail Page requests. Risk is present when the affected route is remotely accessible and the ID argument reaches database operations without reliable parameterization or equivalent query safeguards. Routing behavior involving raw REQUEST_URI handling may also affect how malicious requests are interpreted.

Exploit preconditions

  • Attack surface: Remote HTTP request handling for the Content Detail Page
  • Required access: Access to the vulnerable route; authentication requirements depend on the application's access controls
  • Trigger point: Processing of the ID argument by the self_Tmp function
  • Why exploitation is possible: User-controlled input may influence SQL statement construction without sufficient separation between data and query logic
  • Request handling consideration: The router uses raw REQUEST_URI without URL decoding, so request syntax and route parsing can affect whether a crafted input reaches the vulnerable code

Why this happens

The underlying bug is an injection flaw in which externally controlled input is permitted to affect SQL query structure. This behavior maps directly to CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection) and is also related to CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component. The insecure pattern occurs when application code builds or executes database statements using request-derived values without consistently using parameterized queries, safe query abstractions, or strict input handling.

Potential impact

  • An attacker may read unauthorized database records
  • An attacker could alter or delete application data
  • The vulnerability may expose credentials, tokens, or other sensitive information stored in the database
  • An attacker could affect content displayed through QCMS
  • Database availability could be reduced through resource-intensive or destructive queries

General mitigation guidance

Mitigation generally focuses on ensuring that request values are treated strictly as data rather than executable query syntax.

Common defensive patterns include:

  • Use parameterized queries or trusted database abstractions for every request-derived value
  • Apply allowlist validation for identifiers such as content IDs, including appropriate type and range constraints
  • Centralize database access so query construction follows a consistent safe-by-default policy
  • Reduce database account privileges to only those operations required by the application
  • Avoid exposing database errors or query details in responses and logs visible to untrusted users
  • Apply authentication and authorization checks before accessing content-management functions
  • Treat routing and URL parsing as separate concerns, and test raw and encoded request forms consistently

How teams detect issues like this

Detection approaches can include:

  • Static analysis rules identifying string concatenation or interpolation of request parameters into SQL statements
  • Code review checks for direct use of ID, query-string, path, or REQUEST_URI values in database calls
  • Dynamic testing that verifies parameterized-query behavior across valid, malformed, encoded, and unencoded request inputs
  • Web application firewall or gateway policies that identify suspicious database syntax while recognizing that filtering is only a defense-in-depth control
  • Database monitoring for unexpected query structures, excessive errors, unusual read volume, or writes from the QCMS service account
  • Automated security review tools that flag CWE-89 and CWE-74 patterns during development

Sources

SourceLink
github.comgithub.com/yukino06/CVE/issues/1
vuldb.comvuldb.com/cve/CVE-2026-94110
vuldb.comvuldb.com/submit/944567
vuldb.comvuldb.com/vuln/408039
vuldb.comvuldb.com/vuln/408039/cti

Frequently asked

questions

It may be remotely exploitable when the Content Detail Page route is reachable by an attacker and the ID argument is processed by the vulnerable function. Actual scope depends on routing, authentication, authorization, and database permissions.

Not necessarily. Authentication is determined by the application's access controls for the affected route. An exposed route with insufficient access restrictions presents greater risk.

The safest general pattern is to use parameterized database queries or a trusted query abstraction, combined with strict allowlist validation of content identifiers.

Enforce secure database-access standards in code review and automated analysis, limit database privileges, test request parsing consistently, and monitor application and database activity for abnormal query behavior.

Find out what's already
exploitable in your codebase.