CVE-2026-123489

Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria

Published Nov 6, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains a blind SQL injection vulnerability because the sandbox-exposed getNext() and getPrev() methods pass arbitrary criteria arrays to Craft::configure() without removing SQL-bearing properties such as orderBy and where. Authenticated control panel users can supply a crafted elementIds value, rendered as a sandboxed template, to obtain a conditional SQL oracle under the Craft database account.

Analysis

AI-generated

Technical impact

The vulnerable construct allows authenticated users of the Craft control panel to inject arbitrary SQL through the getNext() and getPrev() methods, which forward user‑supplied criteria directly to Craft::configure(). This results in a blind SQL injection that can be used to exfiltrate data from the database using a timing or logical oracle.

Affected Systems

Craft CMS versions 4.0.0 through 4.18.8 and 5.0.0 through 5.11.1 are affected. The vulnerability is present in the core CMS package, as identified by the Craft CMS CNA. Remediation requires upgrading to version 4.18.9 or later or 5.11.2 or later.

Risk and Exploitability

With a CVSS score of 7.1, the vulnerability is considered high severity. EPSS data is not available, and the flaw is not listed in the CISA KEV catalog. The attack vector is likely restricted to authenticated web users with control panel access; however, because the injection is blind, an attacker would need to perform observable side‑channel techniques such as time‑based delays or conditional queries to infer database values. The lack of an immediate exploitation path does not eliminate the risk, as authenticated users can run arbitrary templates and thus leverage the vulnerability in practice.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Craft CMS to version 4.18.9 or later, or 5.11.2 or later.
  • Restrict control panel access to trusted users only, and enforce least‑privilege on database accounts.
  • Monitor database query logs for unusual activity and optionally use a web application firewall with SQL injection detection rules.

Generated by OpenCVE AI on November 6, 2026 at 16:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Craftcms cms
Vendors & Products Craftcms cms
Type Values Removed Values Added
Description Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains a blind SQL injection vulnerability because the sandbox-exposed getNext() and getPrev() methods pass arbitrary criteria arrays to Craft::configure() without removing SQL-bearing properties such as orderBy and where. Authenticated control panel users can supply a crafted elementIds value, rendered as a sandboxed template, to obtain a conditional SQL oracle under the Craft database account.
Title Craft CMS 4.0.0 before 4.18.9 Blind SQL Injection via getNext/getPrev Criteria
First Time appeared Craftcms
Craftcms craft Cms
Weaknesses CWE-89
CPEs cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*
Vendors & Products Craftcms
Craftcms craft Cms
References
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 6, 2026, 5:20 PM
Reserved
Nov 6, 2026, 12:44 AM
Status
Awaiting Analysis
Published
Nov 6, 2026, 3:17 PM
Modified
Nov 6, 2026, 8:15 PM