CVE-2026-90771
joi before versions 17.13.8 and 18.2.9 contains a prototype …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/hapijs/joi
- github.com/hapijs/joi/blob/v18.2.8/lib/messages.js
- github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afb
- github.com/hapijs/joi/issues/3150
- www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-message
- nvd.nist.gov/vuln/detail/CVE-2026-90771
- github.com/hapijs/joi/pull/3151
- github.com/hapijs/joi/pull/3153
- nvd.nist.gov/vuln/detail/CVE-2026-90771
- cve.org/CVERecord?id=CVE-2026-90771
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.