{"id":"CVE-2026-45054","summary":"CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing","details":"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.","aliases":["GHSA-rm2f-rpcq-6w9f"],"modified":"2026-08-12T03:51:16.021948084Z","published":"2026-05-13T20:42:56.106Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45054.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45054.json"},{"type":"ADVISORY","url":"https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45054"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cubecart/v6","events":[{"introduced":"0"},{"fixed":"0b5a6d0f1872e634d4b0e30c08f2ec9ba19fd9b5"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"6.7.0"}]}}],"versions":["6.6.3","6.6.2","6.6.1","6.6.0","6.5.12","6.5.11","6.5.10","6.5.9","6.5.8","6.5.6","6.5.5","6.5.4","6.5.3","6.5.2","6.5.1","6.5.0","6.4.10","6.4.9","6.4.8","6.4.7","6.4.6","6.4.5","6.4.4","6.4.3","6.4.2","6.4.1","6.4.0","6.4.0-b2","6.4.0-b1","6.2.9","6.2.8","2.6.7","6.2.6","6.2.5","6.2.4","6.2.3","6.2.2","6.2.1","6.2.0","6.2.0-rc2","6.2.0-rc1","6.2.0-b1","6.1.11pr","6.1.10","6.1.9","6.1.8","6.1.7","6.1.6","6.1.5","6.1.4","6.1.3","6.1.2","6.1.1","6.1.0","6.0.12","6.0.11","6.0.10","6.0.9","6.0.8","6.0.6","6.0.5","6.0.4","6.0.3","6.0.2","6.0.1","6.0.0","6.0.0b7","6.0.0b6","6.0.0b5","6.0.0b4","6.0.0b3","6.0.0b2","6.0.0b1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45054.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N"}]}