CVEMETERBack to radar
OFFICIAL RECORD · JavaScript packages

CVE-2026-84504

PUBLISHEDOfficial status check: verifiedCVSS 3.1: 8.1 · high

fastify vulnerable to request body replacement via an async validation result collision

fastify versions before 5.12.2 treat the object resolved by a successful Ajv async validator as the value result protocol used by custom validator compilers. If a request that passes its route schema contains a property named value at the root, fastify replaces the entire request body with that property's value before the handler runs, so the handler receives a different object than the one that satisfied the schema. An authenticated low-privilege caller can use this to make nested data replace the validated body and trigger an operation the route schema did not authorize, leading to unauthorized state changes and data disclosure. Users should upgrade to fastify 5.12.2 or later.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.428% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 3.1 · 8.1 · published by openjs
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Assessment source · checked 2026-11-19T12:59:17.019Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:59:17.019ZCVE Program
epssverified2026-11-19T16:04:55.369ZFIRST EPSS
patchesverified2026-11-19T12:52:30.987ZOSV
affectedverified2026-11-19T12:59:17.019ZCVE Program
lifecycleverified2026-11-19T12:59:17.019ZCVE Program

Affected versions and configuration

fastify fastify; default status: unaffected: 0 to < 5.12.2 [affected; scheme: semver]; 5.12.2 [unaffected; scheme: semver]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "vendor": "fastify",
      "product": "fastify",
      "versions": [
        {
          "status": "affected",
          "version": "0",
          "lessThan": "5.12.2",
          "versionType": "semver"
        },
        {
          "status": "unaffected",
          "version": "5.12.2",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:npm/fastify",
      "defaultStatus": "unaffected"
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-84504",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "total"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-09-04T16:34:38.581872Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-09-04T16:34:58.664Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-667r-xxjv-c9mm",
  "aliases": [
    "CVE-2026-84504"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.12.2"
            }
          ]
        }
      ],
      "package": {
        "name": "fastify",
        "purl": "pkg:npm/fastify",
        "ecosystem": "npm"
      },
      "versions": [],
      "database_specific": {
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-667r-xxjv-c9mm/GHSA-667r-xxjv-c9mm.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/fastify/fastify/security/advisories/GHSA-667r-xxjv-c9mm",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-84504",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/fastify/fastify/commit/f02d8d4ab1ab208f10819c4dc213595b06497833",
      "type": "WEB"
    },
    {
      "url": "https://cna.openjsf.org/security-advisories.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/fastify/fastify",
      "type": "PACKAGE"
    },
    {
      "url": "https://github.com/fastify/fastify/releases/tag/v5.12.2",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-09-04T10:17:13Z",
    "github_reviewed_at": "2026-09-30T23:45:45Z"
  }
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundarynpm / packagefastifyNot a distribution channel5.12.2Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history