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

CVE-2026-142643

Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB

Publiée le 2 déc. 2026 · modifiée le 3 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 34/100

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))
Laravel
ProduitVersionsCorrigé dansSource
Framework Versions non précisées — CNA (éditeur ou attributeur)
Packagist (2 ligne(s))
Packagist
ProduitVersionsCorrigé dansSource
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

  1. — Publication de la CVE (cve)

Avis CERT-FR

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)
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)

Comment sont obtenues et calculées ces données