{"id":"CVE-2026-123491","summary":"Craft CMS 4.0.0 before 4.18.9 Unauthenticated SQL Injection via GraphQL Eager-Load Select","details":"Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an SQL injection vulnerability in GraphQL eager-loading: arguments on eager-loadable nodes absent from the public schema are copied into EagerLoadPlan criteria without cleansing. Unauthenticated attackers can supply a parenthesized select argument to inject SQL expressions and read arbitrary database content, including password hashes and session tokens.","aliases":["GHSA-mjj9-pjh4-r48g"],"modified":"2026-11-07T02:48:22.848612181Z","published":"2026-11-06T15:00:52.189Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123491.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123491.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-mjj9-pjh4-r48g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123491"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-unauthenticated-sql-injection-via-graphql-eager-load-select"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"982efcd14d7e93a1a54f0905b61f242de6b53d8a"},{"fixed":"2ad6097618e4e7913f7f242d112a6e6e67cf2e8b"},{"introduced":"f6a8fb685d44e387435825e3a96809eeda4973a6"},{"fixed":"a29fe6f87bbba6453e9d488ab8a8145a8a9e4f96"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"4.0.0"},{"fixed":"4.18.9"}]},{"range":[{"introduced":"5.0.0"},{"fixed":"5.11.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123491.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"}]}