# CVE-2026-90771: joi before 17.13.8 and 18.2.9 Prototype Pollution via messages

- Severity: Medium 6.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-13T10:45:42.498Z
- Modified: 2026-10-05T23:45:08.228Z
- Also known as: GHSA-wr44-6hxh-3jwq
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- hapijs joi: from 16.0.0 before 17.13.8; from 18.0.0 before 18.2.9
- joi (npm): before 17.13.8; from 18.0.0 before 18.2.9

## Every score

- VulnCheck: CVSS:4.0 6.3 Medium `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`
- VulnCheck: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/hapijs/joi/issues/3150> (exploit, issue-tracking, web)
- <https://github.com/hapijs/joi> (package, product)
- <https://github.com/hapijs/joi/blob/v18.2.8/lib/messages.js> (technical-description, web)
- <https://github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afb> (patch, web)
- <https://www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-messages> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-90771> (advisory)
- <https://github.com/hapijs/joi/pull/3151> (web)
- <https://github.com/hapijs/joi/pull/3153> (web)
- <https://github.com/hapijs/joi/commit/1d2001cad9971327a62c9fd8eb1afec20cd784d2> (web)
- <https://github.com/hapijs/joi/releases/tag/v17.13.8> (web)
- <https://github.com/hapijs/joi/releases/tag/v18.2.9> (web)

## Sources

- CVE List: [CVE-2026-90771](https://www.cve.org/CVERecord?id=CVE-2026-90771), CVE Terms of Use, modified 2026-09-24
- GitHub Advisory Database: [GHSA-wr44-6hxh-3jwq](https://github.com/advisories/GHSA-wr44-6hxh-3jwq), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-90771](https://nvd.nist.gov/vuln/detail/CVE-2026-90771), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-90771 · Whole record: https://cve.day/CVE-2026-90771.json · Rebuilt by cve.day 2026-11-25T22:59:38.195Z
