Skip to content
Heist/ feed
Medium

joi before 17.13.8 and 18.2.9 Prototype Pollution via messages

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-90771

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-90771

joi

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "hapijs",
    "product": "joi",
    "versions": [
      {
        "status": "affected",
        "version": "16.0.0",
        "lessThan": "17.13.8",
        "versionType": "semver"
      },
      {
        "status": "affected",
        "version": "18.0.0",
        "lessThan": "18.2.9",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/joi",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-90771

Source reference: /cveMetadata/cveId

Publisher severity

medium

Source reference: /containers/cna/metrics

Event
#1632 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement