Security Resilience

CVE-2026-3419

Fastify 5.7.2 – 5.8.1

Published
06 March 2026
Modified
18 March 2026
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS Score 0.0055 40th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-3419 is a medium-severity Incorrect Regular Expression (CWE-185) vulnerability in Fastify. Its CVSS base score is 5.3 (Medium).

Operationally, ranked at the 40th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

Fastify incorrectly accepts malformed `Content-Type` headers containing trailing characters after the subtype token, in violation of RFC 9110 §8.3.1(https://httpwg.org/specs/rfc9110.html#field.content-type). For example, a request sent with Content-Type: application/json garbage passes validation and is processed normally, rather than being rejected with 415…

more

Unsupported Media Type. When regex-based content-type parsers are in use (a documented Fastify feature), the malformed value is matched against registered parsers using the full string including the trailing garbage. This means a request with an invalid content-type may be routed to and processed by a parser it should never have reached. Impact: An attacker can send requests with RFC-invalid Content-Type headers that bypass validity checks, reach content-type parser matching, and be processed by the server. Requests that should be rejected at the validation stage are instead handled as if the content-type were valid. Workarounds: Deploy a WAF rule to protect against this Fix: The fix is available starting with v5.8.1.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-84504Same product: Fastify Fastify
CVE-2026-33806Same product: Fastify Fastify
CVE-2026-84469Same product: Fastify Fastify
CVE-2026-25224Same product: Fastify Fastify
CVE-2026-84428Same product: Fastify Fastify
CVE-2026-3635Same product: Fastify Fastify
CVE-2026-76169Same product: Fastify Fastify
CVE-2025-32442Same product: Fastify Fastify
CVE-2026-25223Same product: Fastify Fastify
CVE-2026-14181Same vendor: Fastify

Affected Assets

fastify
fastify
5.7.2 — 5.8.1

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation can discover regex that fails to match or compare data as intended.

Requiring documented development standards and tools reduces the chance that incorrect regular expressions are written into validation or filtering logic.

An SDLC that incorporates security can embed reviews or tooling that catch malformed regular expressions before deployment.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing in development can detect regex-related flaws before release.

prevents

Secure coding standards directly address proper construction and review of regular expressions.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-185, a class-level weakness, and none of its children carries one either.

References