1. Accueil
  2. Vulnérabilités
  3. CVE-2026-115934

CVE-2026-115934

SQL injection leading to privilege escalation

Publiée le 9 nov. 2026 · modifiée le 12 nov. 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 55/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Craftcms (2 ligne(s))
Craftcms
ProduitVersionsCorrigé dansSource
cms de 5.0.0 (inclus) à 5.11.2 (exclu) — CNA (éditeur ou attributeur)
cms de 4.0.0 (inclus) à 4.18.9 (exclu) — CNA (éditeur ou attributeur)

Correctif

Correctifsource officielle

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

Source : CNA (éditeur ou attributeur)

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:Hackrate)
Faiblesse
CWE-89 · Injection SQL

Comment sont obtenues et calculées ces données