Skip to content

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.

PackageAffectedFixed inStatus
npm joi >= 17.13.6, < 17.13.9; >= 18.2.5, < 18.3.1 17.13.9, 18.3.1 Fixed

Affected products

ProductAffected versionsFixed in
npm joi >= 17.13.6, < 17.13.9 17.13.9
npm joi >= 18.2.5, < 18.3.1 18.3.1

References