CVE-2026-90771
CVE-2026-90771 · joi before 17.13.8 and 18.2.9 Prototype Pollution via messages
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
joi before versions 17.13.8 and 18.2.9 contains a prototype pollution vulnerability in the messages compilation function that accepts __proto__ as an error code. Attackers can supply __proto__ keys in custom messages to replace the returned object's prototype, breaking downstream code relying on Object.prototype methods.
CVSS 6.3 · Moyenne · EPSS 0,4% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: node
Produits et versions concernés
joi
- Versions du logiciel
- ≥ 16.0.0, < 17.13.8: Concernée (semver)
- ≥ 18.0.0, < 18.2.9: Concernée (semver)
Mettez à jour vers 17.13.8; Mettez à jour vers 18.2.9
joi npm
- Plages de versions concernées
- SEMVER: < 17.13.8
Mettez à jour vers 17.13.8
joi npm
- Plages de versions concernées
- SEMVER: ≥ 18.0.0, < 18.2.9
Mettez à jour vers 18.2.9
Sources originales
- https://github.com/hapijs/joi/issues/3150
- https://github.com/hapijs/joi
- https://github.com/hapijs/joi/blob/v18.2.8/lib/messages.js
- https://github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afb
- https://www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-messages
- https://nvd.nist.gov/vuln/detail/CVE-2026-90771