- Accueil
- Vulnérabilités
- CVE-2026-142634
CVE-2026-142634
Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch
Résumé
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Eloquent's $guarded protection can be bypassed with an alternate spelling of a guarded attribute name, such as a hyphen or whitespace variant of is_admin. The guard check compared the raw key, while set-mutator resolution normalized it with Str::studly() or Str::camel(). Applications are affected when a model uses a $guarded blacklist, defines a set-mutator (classic or Attribute-based) on a guarded attribute, and mass-assigns untrusted input such as $request->all(). A remote client could then write protected attributes such as role or privilege flags. This issue is fixed in versions 13.43.0 and 12.73.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Laravel (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Framework | Versions non précisées | — | CNA (éditeur ou attributeur) |
Packagist (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| laravel/framework | de 13.0.0 (inclus) à 13.43.0 (exclu) |
13.43.0 |
GitHub Advisory |
| laravel/framework | avant 12.73.0 (exclu) |
12.73.0 |
GitHub Advisory |
Correctif
Mise à jour — Packagist/laravel/framework 13.43.0; Packagist/laravel/framework 12.73.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-6pxv-c29g-cc5h — Laravel: Eloquent mass-assignment guard bypass via attribute-name normalization mismatch 3 déc. 2026
Références
- https://github.com/laravel/framework/security/advisories/GHSA-6pxv-c29g-cc5hWEB
- https://github.com/laravel/framework/pull/62499WEB
- https://github.com/laravel/framework/commit/4b27e94a6b6e3ebf693796f406430f16020d2d79WEB
- https://github.com/laravel/framework/releases/tag/v12.73.0WEB
- https://github.com/laravel/framework/releases/tag/v13.43.0WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-142634ADVISORY
- https://github.com/laravel/frameworkPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N(CVSS 3.1, CNA:security-advisories@github.com)- Faiblesse
- CWE-915 · Autre (CWE-915)