All vulnerabilities

npm

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

Severity
Medium 6.3
Published
4 Nov 2026
Last changed
5 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
17.13.9, 18.3.1
Exploit chance
0.3% in the next 30 daysHigher than 26% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Prototype pollution (CWE-1321)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Change some data
CVSS 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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
joinpm · osv:npm:joi
  • From 17.13.6 before 17.13.9
  • From 18.2.5 before 18.3.1

About joi

Weekly downloads (npm)
34,187,336npm, 23 Nov 2026

Vulnerabilities in joi

In our list
2
Published in the last 12 months
2
Critical, last 12 months
0
High, last 12 months
1
Known exploited
0
Search the list for joi

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-122131