CVE-2026-3419 in Fastify
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 no...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Fastify | Fastify | ≥ 5.7.2, < 5.8.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-3419 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-274505-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| Published | 2026-03-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-185: CWE-185
Related attack patterns (CAPEC)
CAPEC-79 Using Slashes in Alternate Encoding via CWE-185
CAPEC-6 Argument Injection via CWE-185
CAPEC-15 Command Delimiters via CWE-185
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Fastify incorrectly accepts malformed Content-Type headers with trailing characters, violating RFC 9110 §8.3.1. This can lead to potential security issues as it may allow unexpected content types to be processed.
An attacker can exploit this vulnerability by sending a request with a malformed Content-Type header, such as 'application/json garbage'. This could potentially lead to the server processing unexpected content types, which might be used to bypass security checks or cause other unintended behavior.
Questions
What is CVE-2026-3419?
Fastify incorrectly accepts malformed Content-Type headers with trailing characters, violating RFC 9110 §8.3.1. This can lead to potential security issues as it may allow unexpected content types to be processed.
What is the CVSS score for CVE-2026-3419?
CVE-2026-3419 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N. EPSS: 0.6%.
Is CVE-2026-3419 actively exploited?
No confirmed active exploitation of CVE-2026-3419 as of 2026-09-25.
How do I remediate CVE-2026-3419?
Priority: MEDIUM.
What systems are affected by CVE-2026-3419?
CVE-2026-3419 affects Fastify Fastify.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Fastify","product":"Fastify","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.