CVE-2026-115934

SQL injection leading to privilege escalation

  • Critical 9.8

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.

Key facts

Published
9 Nov 2026
Last changed
12 Nov 2026
Assigned by
Hackrate
EPSS
0.484% likely to be exploited in the next 30 days, higher than 42.265% of CVEs (scores for 15 Nov 2026)
SSVC (CISA)
Exploitation: none; Automatable: yes; Technical impact: total

Severity scores

Each score is shown as its source gave it. They are not averaged or merged.

  • 9.3CVSS 4.0, Criticalfrom the CNA (Hackrate)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
  • 9.8CVSS 3.1, Criticalfrom the CNA (Hackrate)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What to do

  • Update to the patched versions (4.18.9 and 5.11.2) to get the fix.CNA solution statement

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
craftcmscms
  • Default status: unaffected
  • 5.0.0 up to but excluding 5.11.2 (affected)
  • 4.0.0 up to but excluding 4.18.9 (affected)

Timeline

  1. 9 Nov 2026 Published

Weakness

Practice this bug class

HackZoneLabs has a hands-on lab on SQL injection (CWE-89).

References