Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

Craft CMS Element Search SQL Injection (CVE-2026-123488, CVE-2026-115934)

CVE-2026-123488 is an unauthenticated SQL injection flaw in Craft CMS's element search endpoint.

Reviewed by
Brandefense Analyst Team
Published
Updated
Reading Time
5 min read
CVE ID
CVE-2026-123488
Vendor
Craft CMS (Composer package craftcms/cms)
Affected Product
Craft CMS 4.0.0 before 4.18.9, and 5.0.0 before 5.11.2
Exploitation
Not confirmed
Published
6 November 2026 (CVE record and NVD); GitHub advisory published 22 October 2026

The CVE record says the attribute parameter is concatenated into the query unsanitized, and because PDO runs with emulated prepares, stacked statements execute. VulnCheck, the CNA, scores it CVSS 3.1 9.8 Critical, and the maintainers fixed it in Craft CMS 4.18.9 and 5.11.2. The same flaw was published again on 9 November 2026 as CVE-2026-115934; both CVE records cite Craft CMS's advisory GHSA-qcvp-ggx3-97r6.

What it allows

CVE-2026-123488 sits in the element search endpoint of Craft CMS. The CVE record says the attribute parameter reaches the database query without sanitization. Because Craft's PDO layer runs with emulated prepares, an attacker's input can add stacked SQL statements that the database then executes.

What CVE-2026-123488 Lets an Attacker Do

The CVE record says the flaw needs no authentication and lets a remote attacker read and write the application database. It names two outcomes directly: setting the admin flag on a user account, and overwriting any account's password hash.

Craft CMS's own security advisory, GHSA-qcvp-ggx3-97r6, describes the same primitive in its own test. The write access set the admin flag on user ID 1, confirmed by reading the value back. The advisory says Craft short-circuits its permission checks on that single column, so no further change was needed to reach administrator access.

We leave out the request details that make stacked statements possible on this endpoint. Our SQL injection glossary entry explains the general pattern this flaw follows.

How the Score Reads

VulnCheck, the CNA, scores CVE-2026-123488 CVSS 3.1 9.8 Critical. The vector reads CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. NVD also lists a CVSS 4.0 score of 9.3 Critical from the same source. Its vector is CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N.

GitHub's own advisory page rates the issue High under its own severity scale and titles it "SQL injection leading to privilege escalation." Craft CMS's changelog groups the same advisory under its "permission escalation" fix line for both branches. The record and the vendor agree on the root cause, and both stress the path to administrator access.

What Craft CMS and CISA KEV Say

Craft CMS's own changelog lists GHSA-qcvp-ggx3-97r6 as fixed in 4.18.9 and 5.11.2, both released 17 September 2026, alongside two other high-severity advisories patched the same day. GitHub's advisory page confirms the same two patched versions and dates the advisory itself to 22 October 2026.

CVE-2026-123488 is not in the CISA KEV catalogue, version 2026.11.10, and CISA's assessment on its record, dated 9 November 2026, rates exploitation "none". A second CVE record for the same flaw, CVE-2026-115934, was published on 9 November 2026 and also cites GHSA-qcvp-ggx3-97r6 as its reference. Its CVSS 4.0 score marks exploit maturity as "Attacked", without describing any attack. Search your scanners for both ids.

What Second Critical Flaw Did Craft CMS Fix in the Same Release?

Update, 9 November 2026. Craft CMS's 5.11.2 release also fixed CVE-2026-124427, a separate authorization bypass in the GraphQL API. The CVE record says anonymous GraphQL clients can chain prev and next pagination fields to read entries outside the schema's granted scope.

VulnCheck, the CNA, scores CVE-2026-124427 CVSS 3.1 9.8 Critical, and CVSS 4.0 9.3 Critical as a secondary metric. GitHub's own advisory label for the same flaw is Moderate. The CVE record and the advisory agree on the weakness, CWE-862, missing authorization.

GitHub's advisory says an anonymous client holding only the GraphQL endpoint URL can read entries in sections the schema excludes, with no account, cookie or token needed. That reading covers each entry's title, slug, unique id, post date and custom-field content, and the same chaining enumerates the site's entire entry list.

Craft CMS's own advisory lists version 5.11.2 as the first fixed release for CVE-2026-124427, the same version that fixes CVE-2026-123488. A 5.x install that updates for the SQL injection flaw also closes this GraphQL authorization bypass.

This Craft CMS element-search issue is separate from Craft CMS GraphQL authorization bypass (CVE-2026-124427). Check each advisory against the deployed release.

Who is affected

The CVE record lists Craft CMS 4.0.0 and later, before 4.18.9, and 5.0.0 and later, before 5.11.2, as affected. Craft CMS's own changelog and GitHub's advisory page both confirm the same two fixed versions.

Craft CMS runs as a Composer package, craftcms/cms, the same package GitHub's advisory names as affected. Any install on an affected 4.x or 5.x release should take the update in the table above. The CVE-2026-115934 record narrows the exposure to sites that use craft.search for front-end search on MySQL or MariaDB.

The flaw is a textbook case of our Exploit Public-Facing Application technique. No account and only network access reach it, per the CVE record.

Craft CMS's 5.11.2 release also fixed CVE-2026-124427, a separate authorization bypass in the GraphQL API. The CVE record lists that flaw as affecting Craft CMS 5.0.0 and later, before 5.11.2, with no 4.x branch listed. The fix for both flaws ships in the same 5.11.2 release, so a 5.x install updating for CVE-2026-123488 also closes CVE-2026-124427.

Timeline

  1. 17 Sep 2026

    Craft CMS ships the fix in 4.18.9 and 5.11.2, per Craft CMS's own changelog for each branch.

  2. 22 Oct 2026

    GitHub publishes the advisory GHSA-qcvp-ggx3-97r6; the CVE record lists this as the public disclosure date.

  3. 6 Nov 2026

    VulnCheck submits the CVE record as CNA, and NVD publishes its own entry the same day.

  4. 8 Nov 2026

    VulnCheck, the CNA, publishes CVE-2026-124427 for a second critical flaw fixed in the same 5.11.2 release, a GraphQL authorization bypass. GitHub's own advisory for that flaw, GHSA-xpg7-m6gm-4xfh, was published 23 October 2026.

What to do

  1. Update to 4.18.9 or 5.11.2

    Move Craft CMS 4.x installs to 4.18.9 and 5.x installs to 5.11.2, the versions the CVE record and Craft CMS's own changelog name as the fix.

  2. Check for Signs of the Admin Flag Change

    We recommend checking the users table for an admin flag set on an account that should not hold it. The advisory describes exactly that write as the path to administrator access.

  3. Rotate Credentials After an Unpatched Window

    If an installation ran an affected version with the element search endpoint reachable, we recommend rotating admin passwords after updating. The advisory says the same write primitive can overwrite any account's password hash.

  4. Confirm the Endpoint Was Reachable

    List which Craft CMS installs expose the element search endpoint to the public internet, since the CVE record describes the flaw as unauthenticated and remote.

What Brandefense can do

Frequently Asked Questions

Which Craft CMS versions fix CVE-2026-123488?

Craft CMS 4.18.9 for the 4.x branch and 5.11.2 for the 5.x branch, per the CVE record, GitHub's advisory and Craft CMS's own changelog.

Does CVE-2026-123488 need a user account?

No account is needed. The CVE record and the CVSS vector both list the attack as unauthenticated and reachable over the network.

What does the advisory say about privilege escalation?

GitHub's advisory says the same SQL injection primitive set the admin flag on user ID 1 and can overwrite any account's password hash.

Is CVE-2026-123488 in the CISA KEV catalogue?

It is not in catalogue version 2026.11.10, and CISA's assessment on the CVE-2026-123488 record rates exploitation "none". The duplicate record, CVE-2026-115934, sets CVSS 4.0 exploit maturity to "Attacked" but describes no attack.

Did Craft CMS fix a second critical flaw in the same 5.11.2 release?

Yes. The CVE record for CVE-2026-124427 says Craft CMS's 5.11.2 release also fixed a GraphQL authorization bypass. VulnCheck, the CNA, scores it CVSS 3.1 9.8 Critical, and the flaw affects the 5.x branch only, not 4.x.

Are CVE-2026-123488 and CVE-2026-115934 the same flaw?

Yes. Both CVE records describe the same unauthenticated SQL injection in Craft CMS search and cite the same advisory, GHSA-qcvp-ggx3-97r6. VulnCheck published CVE-2026-123488 on 6 November 2026; CVE-2026-115934 followed on 9 November 2026.

Sources

  1. CVE-2026-123488 RecordCVE Program / VulnCheck
  2. CVE-2026-123488NVD
  3. GHSA-qcvp-ggx3-97r6, SQL Injection Leading to Privilege EscalationCraft CMS on GitHub
  4. Craft CMS 4.0.0 Before 4.18.9 SQL Injection via Element Search EndpointVulnCheck
  5. Craft CMS ChangelogCraft CMS
  6. Known Exploited Vulnerabilities CatalogCISA
  7. GHSA-xpg7-m6gm-4xfh, Anonymous GraphQL Clients Can Read Out-of-Scope Section ContentCraft CMS on GitHub
  8. Craft CMS 5.0.0 before 5.11.2 GraphQL Schema Scope Bypass via prev/nextVulnCheck
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →