Vulnerability
CVE-2026-90771
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.
47 advisories report this vulnerability, across 6 ecosystems.
Advisories
- CGA-2xrf-6xg5-7w4p
- CGA-34x3-97jg-5fm6
- CGA-3cj6-9gj5-9jhv
- CGA-3jcw-8r5v-xchf
- CGA-48cw-cq2h-9pmm
- CGA-4j6x-322w-9cp2
- CGA-4px5-f3xp-25gf
- CGA-6fxg-p7w2-694p
- CGA-6p53-3qxx-jfw6
- CGA-6qf6-cx44-x9h5
- CGA-7724-jcxh-v7cf
- CGA-7w78-4h7m-9788
- CGA-8xpf-g734-22ff
- CGA-93rr-9p2h-6329
- CGA-98xw-m42p-c5c3
- CGA-9j6g-phgp-x78x
- CGA-c5vc-p97c-x777
- CGA-cgmg-p7jr-m5vp
- CGA-cj24-322q-wf6j
- CGA-fhqc-c86f-55wx
- CGA-g7vh-hpxc-2328
- CGA-h2f3-j7jf-ggcc
- CGA-h47w-qm47-cv36
- CGA-h75w-xc53-pw5f
- CGA-hffh-xv8j-hmfm
- CGA-hrxv-gj2q-7wg3
- CGA-m56h-hvg5-jh2p
- CGA-m9wv-m53w-jqqm
- CGA-p8hp-3j73-5vqf
- CGA-ph42-hx67-qj32
- CGA-rfc8-9c39-fwqw
- CGA-rr5j-rh32-q9p9
- CGA-v47w-973m-9f79
- CGA-v9cc-gxwr-2c43
- CGA-vm3p-hr5f-ppvw
- CGA-vxq7-52w8-hvrj
- CGA-wfj2-j762-jpfx
- CGA-x25q-v539-m38w
- CGA-x3p6-hx6h-qg3f
- CGA-x5j6-7rvw-p7qm
- CGA-xhm9-xgfr-w9jq
-
GHSA-wr44-6hxh-3jwq
joi messages compilation allows prototype replacement through __proto__ error codes
-
RHSA-2026:67573
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:67605
Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update
-
RHSA-2026:67610
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2026-90771
joi: joi: Prototype Pollution via custom messages
-
SUSEVEX-CVE-2026-90771
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…
References
- 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://github.com/hapijs/joi/issues/3150
- https://www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-messages