CVE-2026-115934
CraftCMS CMS privilege escalation via SQL injection in element search
Without logging in, an attacker can send SQL queries through element search and gain administrator rights.
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
Fuente: CNA
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | CVE-2026-115934 divulgada · CVSS 9.3 (CNA) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Fuente: NIST NVD | Registro visto por primera vez en NIST NVD | |
| Monitoreo | Fuente: ENISA EUVD | Registro visto por primera vez en ENISA EUVD | |
| Monitoreo | Fuente: OSV | Registro visto por primera vez en OSV | |
| Divulgación | Evaluación SSVC | CISA-ADP · explotación ninguna | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Fuente: PoC-in-GitHub | Registro visto por primera vez en PoC-in-GitHub | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
An unauthenticated attacker can reach the element search endpoint over the network without logging in, and a SQL injection flaw there lets them run stacked queries to escalate their privileges to administrator. The software product is not named in the facts provided, so the sentence refers to it only generically.
Affects Craft CMS 4.0.0 up to but not including 4.18.9, and 5.0.0 up to but not including 5.11.2. Fixed in 4.18.9 and 5.11.2.
Descripción original del registro (Hackrate)
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.
Condiciones y alcance
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
craftcms/cms |
Corregida | 4.18.9, 5.11.2 | — | — |
4.18.95.11.2Arsenal público
Ver los 1 repositorios de GitHub
Los repositorios públicos incluyen exploits, escáneres, laboratorios y reglas de detección. No ejecute código de terceros sin revisarlo en un entorno aislado.
https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6https://github.com/fixedbyreboot/CVE-2026-115934-POChttps://www.hckrt.com/hacktivity/HCKRT-Y64NY8https://github.com/craftcms/cms/releases/tag/5.11.2https://github.com/craftcms/cmsLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
