NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-90771: joi messages compilation allows prototype replacement through __proto__ error codes

mediumCVSS 4.0 6.3 · 3.1 3.7GHSA-wr44-6hxh-3jwq

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.

Published Sep 13, 2026 · Updated Oct 5, 2026

Affected packages

joi

Ecosystem
npm
Affected
< 17.13.8
Fixed in
17.13.8
Check
npm ls joi

joi

Ecosystem
npm
Affected
>= 18.0.0, < 18.2.9
Fixed in
18.2.9
Check
npm ls joi

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries