Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSelf-register or use low-priv account
-
DeliveryPOST to users/delete-address with nested array param
-
ExploitSet query where to ['AND', raw SQL]
-
ExecutionYii builder executes injected SQL
-
ImpactBlind boolean/time-based read of database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated account; on sites with users.allowPublicRegistration = true the attacker can self-register to obtain one, so no pre-existing credentials or permissions are needed (the vulnerable users/delete-address and users/save-address endpoints enforce no specific permission and the injection runs before ownership/permission checks). For reliable time-based blind extraction the addresses table must contain at least one row, otherwise the MySQL optimizer may short-circuit the WHERE clause. The alternative assets/preview-thumb and assets/show-in-folder endpoints additionally require the accessCp permission. Exploitation is limited where public registration is disabled and no attacker-controlled account exists; the complete fix is updating to Craft CMS 5.11.5 (the earlier 5.11.2 fix for GHSA-mjj9-pjh4-r48g did not cover this findOne() path). |
| Impact | This is a credible this-week priority rather than an emergency, and the signals are mostly consistent. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity injection requiring only a low-privilege authenticated account, with high confidentiality impact (VC:H) and limited integrity impact (VI:L), no availability impact - matching a blind SQL read primitive (CWE-89). The critical risk amplifier is in the preconditions: if |
| Exploit ScenarioDerived | A low-privilege user (self-registered where public registration is enabled) sends a POST to actions/users/delete-address or users/save-address with a nested array parameter that sets the query's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Authenticated SQL injection in Craft CMS 5.0.0 through 5.11.4 lets any logged-in user - including a zero-permission account obtained via self-registration when users.allowPublicRegistration is enabled - read arbitrary database contents through blind boolean or time-based injection on the users/delete-address and users/save-address actions. Element::findOne() accepts a criteria array and several controllers pass a user-controlled request parameter into it without an integer cast, so a nested array sets the Yii query's public where property to a raw SQL string; the injection executes before ownership and permission checks, so addresses the attacker does not own can still be targeted. The upstream advisory documents a proof-of-concept and the issue is rated this_week priority rather than an emergency; no CISA KEV listing or independently confirmed working exploit was available at time of analysis, and blind extraction is only reliable when the addresses table contains at least one row.
RemediationAI
Upgrade to Craft CMS 5.11.5, which is the vendor-released fix; updating is the only complete remediation, and upgrading only as far as 5.11.2 does not close this findOne() path. Follow the vendor advisory at https://github.com/craftcms/cms/security/advisories/GHSA-cphx-cx67-jcqj and the Composer constraint craftcms/cms >= 5.11.5. Compensating controls, with their trade-offs: set users.allowPublicRegistration to false to remove the self-registration route to an account, but note this does not protect sites that already have untrusted low-privilege accounts and changes site behavior; block or restrict access to the actions/users/delete-address, actions/users/save-address, actions/assets/preview-thumb and actions/assets/show-in-folder routes at the web server or via a Craft module until patched, accepting that legitimate address management and asset preview functionality will break for those users; and audit existing low-privilege or recently self-registered accounts for signs of blind SQL injection traffic against those endpoints. There is no evidence that general hardening beyond these vendor-specific steps addresses the injection point.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-89 SQL injection arising from Craft's query-criteria handling on top of the Yii query builder. Element::findOne() accepts an array of criteria, and multiple controllers (users/delete-address, users/save-address, and the accessCp-gated assets/preview-thumb and assets/show-in-folder actions) forward a request parameter into that array unmodified. Supplying the value as a nested array reaches the query object's public where property and sets it to ['AND', '<raw SQL>']; because Yii's query builder treats string operands in a condition array as raw SQL, the attacker's payload is emitted verbatim into the WHERE clause of the generated SELECT. That yields classic blind extraction primitives - boolean and time-based oracles - against the underlying database, with the caveat that the MySQL optimizer may short-circuit the WHERE unless the addresses table has at least one row. The code-level root cause is a missing integer cast or sanitization on an identifier-like parameter. Notably, the same class of SQL injection was fixed in 5.11.2 via cleanseQueryCriteria() for the eager-loading path (GHSA-mjj9-pjh4-r48g), but the findOne() path was missed, so sites on 5.11.2 through 5.11.4 remain exposed.
Know when Craft Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network endpoint, low complexity, and a low-privilege (often self-registerable) account give AV:N/AC:L/PR:L; blind DB read gives C:H with only limited I and no A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Craft CMS from 5.0.0 before 5.11.5 contains an sql injection vulnerability that allows authenticated low-privilege users to inject raw SQL by passing nested array parameters into Element::findOne() criteria. Attackers can set the query's where property through endpoints like users/delete-address and users/save-address to perform blind boolean or time-based injection and read database contents.
Technical POC Analysis
CWE-89 (SQL injection).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Craft CMS versions 5.0.0 through 5.11.4 contain an authenticated SQL injection vulnerability that allows any logged-in user, including self-registered accounts with no permissions, to read arbitrary database contents. This impacts organizations using Craft CMS with public registration enabled, as even low-privileged users could exfiltrate sensitive data. Leadership should prioritize patching because the vulnerability is rated high severity and a public proof-of-concept exists, though no active exploitation has been confirmed.
No vendor-released patch identified at time of analysis. Interim mitigations: disable public user registration (set users.allowPublicRegistration to false) if not essential; restrict registration to trusted email domains; deploy WAF rules to detect and block SQL injection attempts targeting the affected actions; monitor database logs for anomalous queries; apply least privilege to database accounts used by Craft CMS.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Craft CMS versions 3.x through 5.x contain a critical remote code execution vulnerability (CVSS 10.0) that allows unauth
Craft CMS stores arbitrary content provided by unauthenticated users in session files. Rated medium severity (CVSS 6.9),
Craft CMS is a platform for creating digital experiences. Rated critical severity (CVSS 9.8), this vulnerability is remo
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Rated critical sev
Craft CMS up to v3.7.31 was discovered to contain a SQL injection vulnerability via the GraphQL API endpoint. Rated crit
The SEOmatic component before 3.3.0 for Craft CMS allows Server-Side Template Injection that leads to RCE via malformed
RCE in Craft CMS before 4.17.0-beta.1/5.9.0-beta.1 via template injection for authenticated admins. PoC and patch availa
Authenticated remote code execution in Craft CMS versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16 lets an
SQL injection in Craft CMS 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21 allows authenticated Control Panel use
An issue found in CraftCMS v.3.8.1 allows a remote attacker to execute arbitrary code via a crafted script to the Sectio
Craft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the a
Craft CMS 2.6.3000 allows remote attackers to execute arbitrary PHP code by using the "Assets->Upload files" screen and
EUVD-2026-128747
GHSA-hp96-qxfq-853g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB