{"id":"CVE-2026-90771","revision":"e48eeadb96be4a93b58a43b5d135370a","records":[{"revision":"e48eeadb96be4a93b58a43b5d135370a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-90771","aliases":[],"title":"joi before 17.13.8 and 18.2.9 Prototype Pollution via messages","description":"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.","state":0,"publishedAt":"2026-09-13T10:45:42.498+00:00","modifiedAt":"2026-09-24T14:21:52.339+00:00","affected":[{"ecosystem":"Vendor product","name":"joi","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"hapijs\",\n                    \"product\": \"joi\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/joi\",\n                    \"versions\": [\n                        {\n                            \"version\": \"16.0.0\",\n                            \"lessThan\": \"17.13.8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"18.0.0\",\n                            \"lessThan\": \"18.2.9\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"severity":"LOW"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-90771","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-90771","identifiers":["CVE-2026-90771"]},"retained":false,"historicalAffected":[]}],"coverage":[]}