p PatchFirst

CVE-2026-90771

CVE-2026-90771 · joi before 17.13.8 and 18.2.9 Prototype Pollution via messages

This page contains facts from public vulnerability sources. Check the original advisory before updating.

joi before versions 17.13.8 and 18.2.9 contains a prototype pollution vulnerability in the messages compilation function that accepts __proto__ as an error code. Attackers can supply __proto__ keys in custom messages to replace the returned object's prototype, breaking downstream code relying on Object.prototype methods.

CVSS 6.3 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • joi

    Versions
    • ≥ 16.0.0, < 17.13.8: Affected (semver)
    • ≥ 18.0.0, < 18.2.9: Affected (semver)

    Update to 17.13.8; Update to 18.2.9

  • joi npm

    Affected ranges
    • SEMVER: < 17.13.8

    Update to 17.13.8

  • joi npm

    Affected ranges
    • SEMVER: ≥ 18.0.0, < 18.2.9

    Update to 18.2.9

Original sources

Check your server →