Home / hapijs / joi / CVE-2026-122131
CVE-2026-122131: is it exploited, and which versions of hapijs joi are affected and fixed?
CVE-2026-122131 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, 18:39 UTC). Affected: joi from 17.13.6 before 17.13.9 and joi from 18.2.5 before 18.3.1 (CVE record by VulnCheck). Fixed in 17.13.9 and 18.3.1 (CVE record by VulnCheck). Severity: Medium (6.3, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:04 UTC and NVD November 19, 2026, 07:04 UTC.
What is CVE-2026-122131?
Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 Prototype Replacement via __proto__ Language Key
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.
From the CVE record by VulnCheck, last updated November 5, 2026, 19:40 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hapijs | joi | from 17.13.6 before 17.13.9 from 18.2.5 before 18.3.1 | 17.13.9, 18.3.1 |
As the CVE record by VulnCheck states it, last updated November 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-122131?
| 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-122131 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 5, 2026)
- EPSS
- 0.40% probability of exploitation activity in the next 30 days, percentile 36.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
Where are the vendor advisories and references?
- Patch Commit patch
- https://github.com/hapijs/joi product
- https://github.com/hapijs/joi/commit/dae9467cec27e787bfdea8b276595177d52d28ec patch
- https://github.com/hapijs/joi/pull/3164 patch, issue-tracking
- GitHub Security Advisory (GHSA-6w3j-5fw6-r9vr) related, vendor-advisory
- https://github.com/hapijs/joi/blob/v18.3.0/lib/messages.js#L64-L67 technical-description
- VulnCheck Advisory: Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 Prototype Replacement via __proto__ Language Key third-party-advisory
Who found and reported it?
- Zachariah Mithani (AploSec) (finder)
- Marsup (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 4, 2026
- Published
- November 4, 2026, 20:36 UTC
- CVE record updated
- November 5, 2026, 19:40 UTC by VulnCheck
- NVD
- Awaiting Analysis, last modified November 12, 2026, 21:30 UTC
- Last checked
- CVE list November 19, 2026, 07:04 UTC; NVD November 19, 2026, 07:04 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect joi?
- 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 13, 2026CVE-2026-90771 hapijs joi: prototype pollution
- 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-122131
Is CVE-2026-122131 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.40% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of hapijs joi are affected by CVE-2026-122131?
joi from 17.13.6 before 17.13.9 and joi from 18.2.5 before 18.3.1, per the CVE record by VulnCheck. The tables above give every range the sources list.
Which version fixes CVE-2026-122131?
17.13.9 and 18.3.1, per the CVE record by VulnCheck. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-122131?
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-122131?
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.