- Accueil
- Vulnérabilités
- CVE-2026-122131
CVE-2026-122131
Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 Prototype Replacement via __proto__ Language Key
Faible
27/100
Résumé
Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 contains a prototype pollution vulnerability in lib/messages.js compile() and merge() that fails to reject a __proto__ language key. Attackers supplying untrusted message configuration via any().messages(), prefs, validate options or Joi.extend can replace the compiled messages prototype, altering or breaking validation error rendering and dependent logic.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Hapijs (2 ligne(s))
Correctif
Mise à jour — npm/joi 17.13.6; npm/joi 18.2.5source 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-6w3j-5fw6-r9vr — joi: Prototype pollution via a `__proto__` language key in custom messages 8 sept. 2026
Références
- https://github.com/hapijs/joi/commit/76f5771e1afe527cfda24be0e1a920ffa54888d6patch
- https://github.com/hapijs/joi/commit/dae9467cec27e787bfdea8b276595177d52d28ecpatch
- https://github.com/hapijs/joi/pull/3164patch, issue-tracking
- https://github.com/hapijs/joiproduct
- https://github.com/hapijs/joi/security/advisories/GHSA-6w3j-5fw6-r9vrrelated, vendor-advisory
- https://github.com/hapijs/joi/blob/v18.3.0/lib/messages.js#L64-L67technical-description
- https://www.vulncheck.com/advisories/joi-17.13.6-before-17.13.9-and-18.2.5-before-18.3.1-prototype-replacement-via-proto-language-keythird-party-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-84368ADVISORY
- https://github.com/hapijs/joi/pull/3138WEB
- https://github.com/hapijs/joi/pull/3139WEB
- https://github.com/hapijs/joi/commit/8d0b808f3e874d28f9078f61b7742290989afb36WEB
- https://github.com/hapijs/joi/commit/90d07571923c90e3432a328fc041d1cda03d30faWEB
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-1321 · Autre (CWE-1321)