CVE-2026-115934: SQL injection leading to privilege escalation

Published Nov 9, 2026
·
Updated

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.

Other sources

An unauthenticated SQL injection in the element search endpoint allows stacked query execution, enabling escalation to an administrator.

— MITRE

Affected Software

1 affected component
Pixel & Tonic Craft CMS<4.18.9, <5.11.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Craft to a version that resolves this vulnerability.

    Fixed in 4.18.9
  2. Upgrade

    Upgrade Craft to a version that resolves this vulnerability.

    Fixed in 5.11.2
  3. Compensating control

    As a temporary mitigation, block front-end requests containing %5Battribute%5D or [attribute] anywhere in the query string.

Event History

Nov 9, 2026
CVE Published
via MITRE·10:57 PM
Data Sourced
via MITRE·10:57 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What level of access does an attacker need to exploit this issue?

No authentication or prior privileges are required. The vulnerable element search endpoint can be reached remotely, and the issue has low attack complexity with no user interaction required.

2

What can a successful attacker achieve?

The SQL injection permits stacked query execution and can be used to escalate privileges to an administrator. The reported impact includes full compromise of confidentiality, integrity, and availability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203