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
MediumCVSS 6.3
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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 dependent logic.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm joi | >= 17.13.6, < 17.13.9; >= 18.2.5, < 18.3.1 | 17.13.9, 18.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm joi | >= 17.13.6, < 17.13.9 | 17.13.9 |
| npm joi | >= 18.2.5, < 18.3.1 | 18.3.1 |
References
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2567736 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com product
- github.com technical-description
- Patch Commit patch
- github.com patch
- github.com issue-tracking patch
- GitHub Security Advisory (GHSA-6w3j-5fw6-r9vr) related vendor-advisory
- 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
- ENISA EUVD EUVD-2026-117085 third-party-advisory