Advisories
For your digest

joi, @hapi/joi: joi: Prototype pollution via a `__proto__` language key in custom messages

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • joi (npm): from 17.2.0, before 17.13.6
  • @hapi/joi (npm): from 16.0.0, up to and including 17.1.1
  • joi (npm): from 18.0.0, before 18.2.5

The fix

  • joi (npm) fixed in 17.13.6

    npm
    npm install joi@17.13.6
    pnpm
    pnpm add joi@17.13.6
    yarn
    yarn add joi@17.13.6
    bun
    bun add joi@17.13.6
    Check what is installed
    npm ls joi
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency joi to 17.13.6 or the nearest later release, to fix CVE-2026-84368. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • joi (npm) fixed in 18.2.5

    npm
    npm install joi@18.2.5
    pnpm
    pnpm add joi@18.2.5
    yarn
    yarn add joi@18.2.5
    bun
    bun add joi@18.2.5
    Check what is installed
    npm ls joi
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency joi to 18.2.5 or the nearest later release, to fix CVE-2026-84368. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".