New CVE Detected

CVE-2026-123491 – Unauthenticated SQL Injection (GraphQL) – Craft CMS 4.0.0–4.18.8 and 5.0.0–5.11.1

Get a free Attack Surface scan to see if you’re exposed.

Be the first to know when new zero-days emerge:

Summary

CVE-2026-123491 is an unauthenticated SQL injection vulnerability (CWE-89) in the GraphQL eager-loading logic of Craft CMS. It affects Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2. It is rated High: CVSS v4.0 8.8 and CVSS v3.1 8.2.

Technical details

  • Root cause: arguments from eager-loadable nodes that are absent from the public GraphQL schema are copied into EagerLoadPlan::$criteria and applied via Craft::configure() without sanitization. Yii’s query builder then emits select values containing parentheses directly into SQL.
  • Trigger conditions: the public GraphQL schema is enabled with anonymous read access to entries or assets (but not user groups), and at least one entry has an author or at least one asset has an uploader ID.
  • Attack vector: network, unauthenticated. The attacker injects SQL expressions through parenthesized select arguments in GraphQL queries.
  • Impact: disclosure of user email addresses and password hashes, session and verification tokens, and any other database content, regardless of GraphQL schema scope.

Affected software

  • Craft CMS 4.x: 4.0.0 through 4.18.8
  • Craft CMS 5.x: 5.0.0 through 5.11.1

Severity

  • CVSS v4.0: 8.8 (High), AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N
  • CVSS v3.1: 8.2 (High), AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Mitigation and recommended actions

  • Immediate: upgrade to Craft CMS 4.18.9 or later (4.x branch), or 5.11.2 or later (5.x branch).
  • Workaround (per the vendor advisory): granting the public schema user-group read access exposes uploader/author as real fields with fixed arguments, so injected select parameters are rejected as unknown. Upgrading remains the recommended fix.
  • After patching, consider rotating credentials and invalidating sessions if the public GraphQL endpoint was exposed.

References

Get a free Attack Surface scan to see if you’re exposed.

Get a free Attack Surface scan to see if you’re exposed.

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge