p PatchFirst

CVE-2026-84504

CVE-2026-84504 · fastify vulnerable to request body replacement via an async validation result collision

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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.

CVSS 8.1 · Hoch · EPSS 0,4% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: node

Betroffene Produkte und Versionen

  • fastify

    Softwareversionen
    • ≥ 0, < 5.12.2: Betroffen (semver)
    • 5.12.2: Nicht betroffen (semver)

    Auf 5.12.2 aktualisieren

  • fastify npm

    Betroffene Versionsbereiche
    • SEMVER: < 5.12.2

    Auf 5.12.2 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →