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.
Published: 2026-11-06
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Blind SQL Injection
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Fri, 06 Nov 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Craftcms cms
Vendors & Products Craftcms cms

Fri, 06 Nov 2026 15:15:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-06T17:20:51.173Z

Reserved: 2026-11-06T00:44:37.658Z

Link: CVE-2026-123489

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T15:17:18.313

Modified: 2026-11-06T15:17:18.313

Link: CVE-2026-123489

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T17:00:09Z

Weaknesses
  • CWE-89

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