cvelo
P2 · HighCVSS 8.2EPSS 0.3%

Craft CMS 4.0.0 before 4.18.9 Unauthenticated SQL Injection via GraphQL Eager-Load Select

  • CVE-2026-123491
  • GHSA-6534-m2vq-3r2h
  • EUVD-2026-118291

Description

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.

Text from the CVE.org record.

Recommendation

  • craftcms cms

    • If you run a version from 5.0.0 to before 5.11.2update to 5.11.2 or laterMinor version change: check the release notes
    • If you run a version from 4.0.0 to before 4.18.9update to 4.18.9 or laterMinor version change: check the release notes

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • craftcms cms

    Affected versionsFixed in
    from 5.0.0 to before 5.11.25.11.2
    from 4.0.0 to before 4.18.94.18.9

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.