# CVE-2026-45054: CubeCart: Authenticated SQL Injection via `sort[]` Parameter in Admin Orders Transactions Listing

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-13T20:42:56.106Z
- Modified: 2026-06-17T10:51:39.263Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- cubecart v6: < 6.7.0

## References

- <https://github.com/cubecart/v6/security/advisories/GHSA-rm2f-rpcq-6w9f> (exploit)

## Sources

- CVE List: [CVE-2026-45054](https://www.cve.org/CVERecord?id=CVE-2026-45054), CVE Terms of Use, modified 2026-05-14
- NVD: [CVE-2026-45054](https://nvd.nist.gov/vuln/detail/CVE-2026-45054), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-45054 · Whole record: https://cve.day/CVE-2026-45054.json · Rebuilt by cve.day 2026-11-25T22:59:21.666Z
