SQL injection leading to privilege escalation
Summary
| CVE | CVE-2026-115934 |
|---|---|
| State | PUBLISHED |
| Assigner | Hackrate |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-09 23:17:12 UTC |
| Updated | 2026-11-10 21:46:26 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 9.3 CRITICAL from 7004884b-51e2-48e8-b4a2-5ca29e80453e
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.004840000 probability, percentile 0.420340000 (date 2026-11-10)
Problem Types: CWE-89 | CWE-89 CWE-89 Improper neutralization of special elements used in an SQL command ('SQL injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | 7004884b-51e2-48e8-b4a2-5ca29e80453e | Secondary | 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/C... |
| 4.0 | CNA | CVSS | 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 |
| 3.1 | 7004884b-51e2-48e8-b4a2-5ca29e80453e | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | CVSS | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6 | 7004884b-51e2-48e8-b4a2-5ca29e80453e | github.com | |
| www.hckrt.com/hacktivity/HCKRT-Y64NY8 | 7004884b-51e2-48e8-b4a2-5ca29e80453e | www.hckrt.com | |
| github.com/craftcms/cms/releases/tag/5.11.2 | 7004884b-51e2-48e8-b4a2-5ca29e80453e | github.com | |
| github.com/craftcms/cms | 7004884b-51e2-48e8-b4a2-5ca29e80453e | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: @b1ue0cean (en)
CNA: Hackrate (en)
Additional Advisory Data
Solutions
CNA: Update to the patched versions (4.18.9 and 5.11.2) to get the fix.
Exploits
CNA: We're seeing exploit activity around it.