Skip to content
Low 6.3

Joi 17.13.6 before 17.13.9 and 18.2.5 before 18.3.1 Prototype Replacement via __proto__ Language Key

CVE-2026-122131 First seen on SecPulse

Affected packages

PackageAffected → Fixed
hapijsjoi
≥ 17.13.6, < 17.13.9→ 17.13.9
≥ 18.2.5, < 18.3.1→ 18.3.1
npmjoi
≥ 18.0.0, < 18.2.5→ 18.2.5
npm@hapi/joi
16.0.0 – 17.1.1→ Not listed
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details