{"id":"CVE-2026-90771","aliases":["CVE-2026-90771","GHSA-wr44-6hxh-3jwq"],"related":[],"kind":"vulnerability","state":"published","title":"joi before 17.13.8 and 18.2.9 Prototype Pollution via messages","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-13T10:45:42.498Z","modified":"2026-10-05T23:45:08.228Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"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,"rating":"LOW"},{"scorer":"GitHub","scheme":"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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"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","rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"16.0.0","fixed":"17.13.8","status":"affected"},{"type":"semver","introduced":"18.0.0","fixed":"18.2.9","status":"affected"}],"vendor":"hapijs","product":"joi","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"17.13.8"}],"ecosystem":"npm","package":"joi","purl":"pkg:npm/joi","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"18.0.0","status":"affected","fixed":"18.2.9"}],"ecosystem":"npm","package":"joi","purl":"pkg:npm/joi","source":"ghsa"}],"references":[{"url":"https://github.com/hapijs/joi/issues/3150","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapijs/joi","tags":["package","product"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapijs/joi/blob/v18.2.8/lib/messages.js","tags":["technical-description","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afb","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-messages","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90771","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/joi/pull/3151","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/joi/pull/3153","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/joi/commit/1d2001cad9971327a62c9fd8eb1afec20cd784d2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/joi/releases/tag/v17.13.8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hapijs/joi/releases/tag/v18.2.9","tags":["web"],"sources":["ghsa"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-09-16T14:02:28.580Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90771","url":"https://www.cve.org/CVERecord?id=CVE-2026-90771","licence":"CVE Terms of Use","modified":"2026-09-24T14:21:52.339Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wr44-6hxh-3jwq","url":"https://github.com/advisories/GHSA-wr44-6hxh-3jwq","licence":"CC-BY-4.0","modified":"2026-10-05T23:45:08.228Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90771","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90771","licence":"Public domain","modified":"2026-09-24T20:44:42.207Z"}],"updatedAt":"2026-11-25T22:59:38.195Z","epss":{"score":0.00259,"percentile":0.18729,"date":"2026-12-01T12:00:22.000Z"}}