Skip to main content

Craft CMS CVE-2026-115934

| EUVDEUVD-2026-120517 CRITICAL
SQL Injection (CWE-89)
2026-11-09 Hackrate GHSA-grcw-mp3h-6wqj
9.3
CVSS 4.0 · Vendor: Hackrate
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted search request to front end
  2. Delivery
    Inject stacked SQL via attribute parameter
  3. Exploit
    Execute write primitive on users table
  4. Execution
    Set admin flag on user ID 1
  5. Impact
    Log in as administrator

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 that the target Craft CMS site exposes a front-end template using craft.search for searching AND runs on a MySQL/MariaDB database - the stacked-statement write primitive depends on PDO emulated prepares, which is the behavior on these backends; PostgreSQL deployments are explicitly NOT affected. Given AV:N/AC:L/PR:N/UI:N, no authentication, special privileges or user interaction is needed against such a configuration, and it works against default setups that use craft.search. The primary limiting factors are therefore the database engine (MySQL/MariaDB only) and the presence of a craft.search-backed search feature; the temporary mitigation is blocking front-end requests containing %5Battribute%5D or [attribute] anywhere in the query string.

Impact

All available signals align toward high real-world risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity attack requiring no privileges and no user interaction, with high confidentiality, integrity and availability impact to the vulnerable system (VC:H/VI:H/VA:H), scored 9.3. The vuln.today decision label is act_now, and the CVSS 4.0 exploit-maturity field is set to E:A (Attacked). The GHSA advisory and detailed impact write-up confirm a working exploitation technique - unsanitized concatenation of the attribute parameter plus PDO emulated prepares allowing stacked statements, used to set the admin flag on user ID 1 and read the value back. One genuine limiting factor: the vendor states the flaw only affects MySQL/MariaDB, so PostgreSQL deployments are not exploitable via this path - this narrows the population but MySQL/MariaDB is a very common Craft backend. No EPSS score is provided in the input, and there is no CISA KEV listing in the data, so active mass exploitation is not independently confirmed despite the E:A maturity flag; the act_now label and E:A should be weighed against the absence of KEV/EPSS corroboration. On balance this is a genuine priority - an unauthenticated SQLi-to-admin on a shipping CMS - not a high-CVSS-but-low-real-risk case.

Exploit ScenarioDerived

A remote, unauthenticated attacker sends a crafted front-end search request to any Craft site using craft.search on a MySQL/MariaDB backend, injecting a stacked SQL statement through the unsanitized attribute parameter. Because PDO runs with emulated prepares, the appended statement executes, letting the attacker set the admin flag on user ID 1 (or overwrite any account's password hash) and take over the application. A public PoC reference exists (the Hackrate hacktivity report and GHSA advisory describe the exact primitive); it is not verified here as distributable working exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

Craft CMS exposes an unauthenticated SQL injection through front-end search templates that use craft.search, letting remote attackers append stacked SQL statements to the underlying attribute parameter and gain full read/write access to the application database. Because Craft's permission checks short-circuit on the admin column in the users table, the same write primitive escalates to administrator (confirmed by flipping the admin flag on user ID 1) and can overwrite any account's password hash. The flaw affects 4.x before 4.18.9 and 5.x before 5.11.2, is limited to MySQL/MariaDB backends (PDO emulated prepares allow stacked statement execution), and carries an act_now decision label with high EPSS-level urgency in the 9.3 CVSS 4.0 scoring; PostgreSQL deployments are not affected.

RemediationAI

Vendor-released patch: upgrade to Craft CMS 4.18.9 or 5.11.2 (https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6, https://github.com/craftcms/cms/releases/tag/5.11.2); this is the only complete fix per the advisory. If immediate updating is not possible, apply the vendor's stated temporary mitigation by blocking front-end requests whose query string contains %5Battribute%5D or [attribute] anywhere in it, which prevents the injection parameter from reaching craft.search - this is a stopgap that must be replaced by the upgrade, and it does not protect other code paths if an attacker can reach the vulnerable parameter through a different encoding or request format. Sites on PostgreSQL are not exposed to this specific issue, but should still update to stay on supported versions.

Affected VersionsENISA

CMS 4.0.0 <4.18.9
CMS 5.0.0 <5.11.2

Affected Packages

euvd cms fix: 4.18.9, 5.11.2

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

CWE-89 (SQL injection) in the craft.search front-end search path: the search attribute parameter is concatenated into the SQL query without sanitization rather than being bound as a parameter. On MySQL/MariaDB, Craft's PDO connection runs with emulated prepares enabled, so multi-statement ('stacked') payloads are accepted and executed by the driver, turning a read-only injection into an arbitrary INSERT/UPDATE/DELETE primitive over the application schema. The advisory documents a concrete exploitation chain: an UPDATE against the users table to set the admin flag on user ID 1, which bypasses Craft's authorization checks because the framework short-circuits permission evaluation on that single column; the same primitive can replace any user's password hash. The vulnerability requires a site template that invokes craft.search to perform a search, and it is database-engine specific - PostgreSQL deployments are explicitly unaffected because they do not exhibit the same stacked-statement behavior under emulated prepares. The affected package ranges are composer/craftcms/cms >= 4.0.0 < 4.18.9 and >= 5.0.0 < 5.11.2, matching CPE cpe:2.3:a:craftcms:cms. The release notes for 5.11.2 bundle this fix alongside a separate SQL injection (GHSA-mjj9-pjh4-r48g) and permission-escalation fixes (GHSA-r56r-f696-c8w9). The trigger is precisely described in the advisory: unsanitized concatenation of the attribute parameter into the search query.

Know when 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

Vendor (Hackrate) PRIMARY 9.3 CRITICAL
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/E:A
vuln.today AI 9.8 CRITICAL

Unauthenticated network stacked SQLi against default MySQL/MariaDB configs gives full DB read/write and admin takeover, so PR:N/AC:L with C/I/A all High; scope unchanged within the application.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Hackrate).

CVSS VectorVendor: Hackrate

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 01:16 EUVD
CVE Published
Nov 09, 2026 - 22:57 cve.org
CRITICAL 9.3

DescriptionCVE.org

An unauthenticated SQL injection can occur on the front end of any site that uses craft.search to perform a search, allowing stacked query execution and enabling escalation to an administrator.

Note that this only affects MySQL/MariaDB.

Impact * SQL injection - The attribute parameter is concatenated into the query unsanitized, and because PDO runs with emulated prepares, stacked statements execute. This gives unauthenticated read and write access to the application database.

  • Privilege escalation to administrator - The write primitive was used to set the admin flag on user ID 1 in the users table, confirmed by reading the value back. Craft short-circuits its permission checks on this single column, so no further changes were needed. The same primitive can overwrite any account’s password hash.

Update to the patched versions (4.18.9 and 5.11.2) to get the fix.

If you cannot update immediately, you can block front-end requests with %5Battribute%5D and [attribute] anywhere in the query string as a temporary mitigation.

Technical POC Analysis

CWE-89: SQL injection in Craft CMS front-end search via craft.search.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Craft CMS contains a critical SQL injection vulnerability (CVE-2026-115934) that allows unauthenticated attackers to fully compromise the application database and escalate to administrator, impacting all organizations using affected versions (4.x before 4.18.9 and 5.x before 5.11.2) on MySQL/MariaDB. Leadership should prioritize immediate remediation because exploitation enables complete takeover of content management systems, data theft, and potential lateral movement.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include deploying WAF rules to block SQL injection attempts in search parameters, restricting front-end search access, enforcing strict input validation on the attribute parameter, and monitoring database activity for stacked queries. Consider migrating to PostgreSQL, which is not affected.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Medium
popular commercial PHP CMS, common but far from ubiquitous deployment
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

More in Cms

View all
CVE-2020-7357 CRITICAL POC
9.9 Aug 06

Cayin CMS suffers from an authenticated OS semi-blind command injection vulnerability using default credentials. Rated c

CVE-2012-4405 MEDIUM
6.8 Sep 18

Multiple integer underflows in the icmLut_allocate function in International Color Consortium (ICC) Format library (iccl

CVE-2021-47753 CRITICAL POC
9.8 Jan 15

phpKF CMS 3.00 Beta allows unauthenticated PHP file upload by disguising it as a PNG, then renaming it for execution. Po

CVE-2019-9874 CRITICAL POC
9.8 May 31

Deserialization of Untrusted Data in the Sitecore.Security.AntiCSRF (aka anti CSRF) module in Sitecore CMS 7.0 to 7.2 an

CVE-2026-123488 CRITICAL POC
9.3 Nov 06

Unauthenticated SQL injection in Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 allows remote attackers to read a

CVE-2019-9875 HIGH POC
8.8 May 31

Deserialization of Untrusted Data in the anti CSRF module in Sitecore through 9.1 allows an authenticated attacker to ex

CVE-2026-113358 HIGH POC
8.7 Oct 20

Unauthenticated file disclosure in LavaLite CMS through 10.1.2 allows remote attackers to download private stored files

CVE-2026-56382 HIGH POC
8.6 Jun 21

Authenticated remote code execution in Craft CMS versions 5.5.0 through 5.9.13 allows admin users to execute arbitrary P

CVE-2012-5894 HIGH POC
7.5 Nov 17

SQL injection vulnerability in hava_post.php in Havalite CMS 1.1.0 and earlier allows remote attackers to execute arbitr

CVE-2012-5893 MEDIUM POC
6.8 Nov 17

Unrestricted file upload vulnerability in hava_upload.php in Havalite CMS 1.1.0 and earlier allows remote attackers to e

CVE-2015-2083 MEDIUM POC
6.8 Feb 25

Cross-site request forgery (CSRF) vulnerability in Ilch CMS allows remote attackers to hijack the authentication of admi

CVE-2012-5919 MEDIUM POC
4.3 Nov 19

Multiple cross-site scripting (XSS) vulnerabilities in Havalite 1.0.4 and earlier allow remote attackers to inject arbit

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy