CVE-2026-90771
published medium CVSS 4.0 · 6.3joi before 17.13.8 and 18.2.9 Prototype Pollution via messages
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hapijs | — | joi16.0.0 to < 17.13.8 · 18.0.0 to < 18.2.9 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 3.7 | low | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hapijs | joi | 16.0.0 to < 17.13.8 (affected · semver)18.0.0 to < 18.2.9 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
5- https://github.com/hapijs/joi
- https://github.com/hapijs/joi/blob/v18.2.8/lib/messages.js
- https://github.com/hapijs/joi/commit/5b8333c9177e08b4ef4ed02903c2d657084e7afb
- GitHub Issue #3150 https://github.com/hapijs/joi/issues/3150
- VulnCheck Advisory: joi before 17.13.8 and 18.2.9 Prototype Pollution via messages https://www.vulncheck.com/advisories/joi-before-17.13.8-and-18.2.9-prototype-pollution-via-messages
Provider assertions
2VulnCheck · cna
joi before 17.13.8 and 18.2.9 Prototype Pollution via messages
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c8a2413f3f1e3d814fd89b6b9d53021f5d76f01552edf02ba7978b1cdde72508
- Ingested
- 30 Sep 2026, 15:35:01 UTC
- Source record
- Official CVE record