What’s Vulnerable › Vulnerabilities
CVE-2026-45054: CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing
- Severity: medium (CVSS 4.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-05-13 · updated 2026-06-17
- Weakness: CWE-89
Description
CubeCart is an ecommerce software solution. Prior to 6.7.0, the admin orders-transactions listing page (admin.php?_g=orders&node=transactions) builds a raw ORDER BY SQL fragment from the attacker-controlled $_GET['sort'] array without column or direction validation. Both the column key and the direction value flow into the query string as bare SQL tokens, and the framework's sqlSafe() (mysqli escape_string) escapes only quote characters — none of which are required for ORDER BY injection. An authenticated administrator with the minimum CC_PERM_READ permission on orders can execute arbitrary SQL against the store database, including time-based blind extraction of admin password hashes, customer PII, and integrated payment-gateway credentials. This vulnerability is fixed in 6.7.0.
Affected products
- cubecart v6: before 6.7.0
References
- https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f
- https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f
Get alerted when CVE-2026-45054 or the next vulnerability affects your stack