Shellfeed logo Shellfeed

CVE-2026-122131 · LOW (CVSS 3.7)

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

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 26.4).

Details

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.

Severity

LOW (CVSS 3.7) — vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected packages

  • npm joi [17.2.0 – 17.13.6]
  • npm @hapi/joi [16.0.0 – 17.1.1]
  • npm joi [18.0.0 – 18.2.5]
  • GIT github.com/hapijs/joi [850be1ee24be8d548bb09359bdb0cf9fe41635ff – 5af45306226782035951fdc49f10fab5ebe021a2] [58ce83e919a14f481f1a1edf30ee212cf90ba6a4 – 4009bfb93639b7da53b7cb1de2e2d8617d36d5f5]

References

Posts about CVE-2026-122131