Home / hapijs / joi / CVE-2026-90771
CVE-2026-90771: is it exploited, and which versions of hapijs joi are affected and fixed?
CVE-2026-90771 is a prototype pollution vulnerability in hapijs joi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: joi before 17.13.8 and joi from 18.0.0 before 18.2.9 (GitHub advisory GHSA-wr44-6hxh-3jwq). Fixed in 17.13.8 and 18.2.9 (GitHub advisory GHSA-wr44-6hxh-3jwq). Severity: Medium (6.3, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:07 UTC.
What is CVE-2026-90771?
joi before 17.13.8 and 18.2.9 Prototype Pollution via messages
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.
From the CVE record by VulnCheck, last updated September 24, 2026, 14:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hapijs | joi | from 16.0.0 before 17.13.8 from 18.0.0 before 18.2.9 | 17.13.8, 18.2.9 |
As the CVE record by VulnCheck states it, last updated September 24, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | joi | < 17.13.8 | 17.13.8 | GHSA-wr44-6hxh-3jwq |
| npm | joi | >= 18.0.0, < 18.2.9 | 18.2.9 | GHSA-wr44-6hxh-3jwq |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 5, 2026. Summary: joi messages compilation allows prototype replacement through __proto__ error codes.
How severe is CVE-2026-90771?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 4.0 | 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 |
| Low 3.7 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-90771 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, September 16, 2026)
- EPSS
- 0.26% probability of exploitation activity in the next 30 days, percentile 18.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- GitHub Issue #3150 issue-tracking
- https://github.com/hapijs/joi product
- https://github.com/hapijs/joi/blob/v18.2.8/lib/messages.js technical-description
- https://github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afb patch
- VulnCheck Advisory: joi before 17.13.8 and 18.2.9 Prototype Pollution via messages third-party-advisory
Who found and reported it?
- George Chen (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- September 13, 2026
- Published
- September 13, 2026, 10:45 UTC
- CVE record updated
- September 24, 2026, 14:21 UTC by VulnCheck
- NVD
- Awaiting Analysis, last modified September 24, 2026, 20:44 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:07 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect joi?
- Nov 4, 2026CVE-2026-122131 hapijs joi: prototype pollution
- Oct 29, 2026CVE-2026-118772 hapijs joi: regular expression denial of service (ReDoS)
- Sep 16, 2026CVE-2026-92599 hapijs joi: regular expression denial of service (ReDoS)
- Sep 1, 2026CVE-2026-84368 hapijs joi: prototype pollution
- Sep 1, 2026CVE-2026-84367 hapijs joi: prototype pollution
- Jul 14, 2026CVE-2026-48038 hapijs joi: uncaught exception (crash)
Questions about CVE-2026-90771
Is CVE-2026-90771 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 0.26% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of hapijs joi are affected by CVE-2026-90771?
joi before 17.13.8 and joi from 18.0.0 before 18.2.9, per the GitHub advisory GHSA-wr44-6hxh-3jwq. The tables above give every range the sources list.
Which version fixes CVE-2026-90771?
17.13.8 and 18.2.9, per the GitHub advisory GHSA-wr44-6hxh-3jwq. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-90771?
Medium (6.3, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-90771?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.