- Accueil
- Vulnérabilités
- CVE-2026-142643
CVE-2026-142643
Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB
Résumé
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, The exists and unique validation rules passed integer and boolean values from the request unchanged to the database query. On MySQL and MariaDB, comparing a string column with an integer casts the column to a number. As a result, JSON input such as 0, false or [0] could satisfy a rule like required|exists:invites,code on a non-numeric string column without a valid value. An unauthenticated attacker who can submit JSON could bypass "must reference an existing record" checks. PostgreSQL and SQLite are not affected. Form-encoded input is always a string and is not affected. 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-wwq3-m3j5-wv66 — Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB 3 déc. 2026
Références
- https://github.com/laravel/framework/security/advisories/GHSA-wwq3-m3j5-wv66WEB
- https://github.com/laravel/framework/pull/62447WEB
- https://github.com/laravel/framework/pull/62448WEB
- https://github.com/laravel/framework/commit/2b517db47fca33b9bf48a15287af63702ace3f99WEB
- https://github.com/laravel/framework/commit/a26c3295498fc4de4b878d634fe2a9ae264d9a29WEB
- 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-142643ADVISORY
- 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:L/PR:N/UI:N/S:U/C:L/I:N/A:N(CVSS 3.1, CNA:security-advisories@github.com)- Faiblesse
- CWE-843 · Autre (CWE-843)