# @hapi/joi (npm) vulnerabilities

3 known vulnerabilities (1 high, 1 medium, 1 low), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 17.1.1 (Mar 14, 2020): affected by 3 advisories
- Newest unaffected release: Every release is affected by at least one advisory
- Weekly downloads: 2.2M
- Dependents: 1,851
- Releases: 28 since 14.4.0 (Mar 29, 2019)
- Registry: https://www.npmjs.com/package/@hapi/joi
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-122131: 16.0.0 to 17.1.1 (through the newest release)
- CVE-2026-118772: 16.0.0 to 17.1.1 (through the newest release)
- CVE-2026-84368: 16.0.0 to 17.1.1 (through the newest release)

## Advisories (3)

### [CVE-2026-122131](https://cve.now/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

- Severity: Medium 6.3
- Published: Nov 4, 2026
- Affected: from 16.0.0, through 17.1.1.
- No fix released. The latest release, 17.1.1, is still affected.
- 38% of @hapi/joi downloads last week were affected versions (1M).

### [CVE-2026-118772](https://cve.now/CVE-2026-118772): joi: quadratic-time split in \`string().email({ multiple: true })\` allows denial of service

- Severity: High 7.5
- Published: Oct 29, 2026
- Affected: from 16.0.0, through 17.1.1.
- No fix released. The latest release, 17.1.1, is still affected.
- 38% of @hapi/joi downloads last week were affected versions (1M).

### [CVE-2026-84368](https://cve.now/CVE-2026-84368): joi: Prototype pollution via a \`proto\` language key in custom messages

- Severity: Low 3.7
- Published: Sep 1, 2026
- Affected: from 16.0.0, through 17.1.1.
- No fix released. The latest release, 17.1.1, is still affected.
- 38% of @hapi/joi downloads last week were affected versions (1M).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/@hapi/joi
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
