{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-122131","id":"CVE-2026-122131","title":"Joi prototype pollution in message configuration","description":"Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 contains a prototype pollution vulnerability in lib/messages.js compile() and merge() that fails to reject a __proto__ language key. Attackers supplying untrusted message configuration via any().messages(), prefs, validate options or Joi.extend can replace the compiled messages prototype, altering or breaking validation error rendering and depend","descriptionLong":"Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 contains a prototype pollution vulnerability in lib/messages.js compile() and merge() that fails to reject a __proto__ language key. Attackers supplying untrusted message configuration via any().messages(), prefs, validate options or Joi.extend can replace the compiled messages prototype, altering or breaking validation error rendering and dependent logic.","published":"2026-11-04T20:36:51.069Z","updated":"2026-11-14T02:30:32.632577324Z","reserved":"2026-11-04T18:13:10.837Z","status":"Awaiting Analysis","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":6.3,"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","source":"VulnCheck"},"metrics":[{"version":"4.0","score":6.3,"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","source":"VulnCheck"},{"version":"4.0","score":6.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"vulncheck.com"},{"version":"4.0","score":null,"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":"unrated","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"VulnCheck"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"vulncheck.com"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"medium","products":["hapijs joi"],"affectedProducts":[{"vendor":"hapijs","product":"joi","defaultStatus":"unaffected","versions":[{"version":"17.13.6","status":"affected","lessThan":"17.13.9","versionType":"semver"},{"version":"18.2.5","status":"affected","lessThan":"18.3.1","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"joi","purl":"pkg:npm/joi","ranges":[">=17.2.0 <17.13.6",">=18.0.0 <18.2.5"],"fixed":["17.13.6","18.2.5"],"advisory":"GHSA-6w3j-5fw6-r9vr"},{"ecosystem":"npm","name":"@hapi/joi","purl":"pkg:npm/%40hapi/joi","ranges":[">=16.0.0 <=17.1.1"],"fixed":[],"advisory":"GHSA-6w3j-5fw6-r9vr"}],"cwes":["CWE-1321"],"aliases":["CVE-2026-84368","GHSA-6w3j-5fw6-r9vr"],"references":[{"url":"https://github.com/hapijs/joi/commit/76f5771e1afe527cfda24be0e1a920ffa54888d6","tags":["patch","fix"]},{"url":"https://github.com/hapijs/joi","tags":["product","package"]},{"url":"https://github.com/hapijs/joi/commit/dae9467cec27e787bfdea8b276595177d52d28ec","tags":["patch","fix"]},{"url":"https://github.com/hapijs/joi/pull/3164","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/hapijs/joi/security/advisories/GHSA-6w3j-5fw6-r9vr","tags":["related","vendor-advisory","advisory","web"]},{"url":"https://github.com/hapijs/joi/blob/v18.3.0/lib/messages.js#L64-L67","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/joi-17.13.6-before-17.13.9-and-18.2.5-before-18.3.1-prototype-replacement-via-proto-language-key","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122131.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122131","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84368","tags":["advisory"]},{"url":"https://github.com/hapijs/joi/pull/3138","tags":["web"]},{"url":"https://github.com/hapijs/joi/pull/3139","tags":["web"]},{"url":"https://github.com/hapijs/joi/commit/8d0b808f3e874d28f9078f61b7742290989afb36","tags":["web"]},{"url":"https://github.com/hapijs/joi/commit/90d07571923c90e3432a328fc041d1cda03d30fa","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0033,"epssPercentile":0.26756,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-122131","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122131","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-122131","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6w3j-5fw6-r9vr","ok":true,"note":"GHSA-6w3j-5fw6-r9vr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-122131","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}