Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2026-3419

Summary
Assigner-openjs
Assigner Org ID-ce714d77-add3-4f53-aff5-83d477b104bb
Published At-06 Mar, 2026 | 17:50
Updated At-09 Mar, 2026 | 14:55
Rejected At-
Credits

Fastify's Missing End Anchor in "subtypeNameReg" Allows Malformed Content-Types to Pass Validation

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:openjs
Assigner Org ID:ce714d77-add3-4f53-aff5-83d477b104bb
Published At:06 Mar, 2026 | 17:50
Updated At:09 Mar, 2026 | 14:55
Rejected At:
▼CVE Numbering Authority (CNA)
Fastify's Missing End Anchor in "subtypeNameReg" Allows Malformed Content-Types to Pass Validation

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.

Affected Products
Vendor
fastify
Product
fastify
Default Status
unaffected
Versions
Affected
  • From 5.7.2 before 5.8.1 (semver)
Unaffected
  • 5.8.1 (semver)
Problem Types
TypeCWE IDDescription
CWECWE-185CWE-185: Incorrect Regular Expression
Type: CWE
CWE ID: CWE-185
Description: CWE-185: Incorrect Regular Expression
Metrics
VersionBase scoreBase severityVector
3.15.3MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

reporter
Saad FELLAHI
remediation developer
James Sumners
coordinator
Matteo Collina
remediation reviewer
Ulises Gascón
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/fastify/fastify/security/advisories/GHSA-573f-x89g-hqp9
N/A
https://github.com/fastify/fastify/commit/67f6c9b32cb3623d3c9470cc17ed830dd2f083d7
N/A
https://httpwg.org/specs/rfc9110.html#field.content-type
N/A
https://github.com/advisories/GHSA-573f-x89g-hqp9
N/A
https://cna.openjsf.org/security-advisories.html
N/A
https://www.cve.org/CVERecord?id=CVE-2026-3419
N/A
Hyperlink: https://github.com/fastify/fastify/security/advisories/GHSA-573f-x89g-hqp9
Resource: N/A
Hyperlink: https://github.com/fastify/fastify/commit/67f6c9b32cb3623d3c9470cc17ed830dd2f083d7
Resource: N/A
Hyperlink: https://httpwg.org/specs/rfc9110.html#field.content-type
Resource: N/A
Hyperlink: https://github.com/advisories/GHSA-573f-x89g-hqp9
Resource: N/A
Hyperlink: https://cna.openjsf.org/security-advisories.html
Resource: N/A
Hyperlink: https://www.cve.org/CVERecord?id=CVE-2026-3419
Resource: N/A
▼Authorized Data Publishers (ADP)
CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:ce714d77-add3-4f53-aff5-83d477b104bb
Published At:06 Mar, 2026 | 18:16
Updated At:18 Mar, 2026 | 19:11

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.15.3MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Type: Secondary
Version: 3.1
Base score: 5.3
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CPE Matches

fastify
fastify
>>fastify>>Versions from 5.7.2(inclusive) to 5.8.1(exclusive)
cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*
Weaknesses
CWE IDTypeSource
CWE-185Secondaryce714d77-add3-4f53-aff5-83d477b104bb
CWE ID: CWE-185
Type: Secondary
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://cna.openjsf.org/security-advisories.htmlce714d77-add3-4f53-aff5-83d477b104bb
Vendor Advisory
https://github.com/advisories/GHSA-573f-x89g-hqp9ce714d77-add3-4f53-aff5-83d477b104bb
Patch
Vendor Advisory
https://github.com/fastify/fastify/commit/67f6c9b32cb3623d3c9470cc17ed830dd2f083d7ce714d77-add3-4f53-aff5-83d477b104bb
Patch
https://github.com/fastify/fastify/security/advisories/GHSA-573f-x89g-hqp9ce714d77-add3-4f53-aff5-83d477b104bb
Vendor Advisory
https://httpwg.org/specs/rfc9110.html#field.content-typece714d77-add3-4f53-aff5-83d477b104bb
Technical Description
https://www.cve.org/CVERecord?id=CVE-2026-3419ce714d77-add3-4f53-aff5-83d477b104bb
VDB Entry
Hyperlink: https://cna.openjsf.org/security-advisories.html
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Resource:
Vendor Advisory
Hyperlink: https://github.com/advisories/GHSA-573f-x89g-hqp9
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Resource:
Patch
Vendor Advisory
Hyperlink: https://github.com/fastify/fastify/commit/67f6c9b32cb3623d3c9470cc17ed830dd2f083d7
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Resource:
Patch
Hyperlink: https://github.com/fastify/fastify/security/advisories/GHSA-573f-x89g-hqp9
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Resource:
Vendor Advisory
Hyperlink: https://httpwg.org/specs/rfc9110.html#field.content-type
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Resource:
Technical Description
Hyperlink: https://www.cve.org/CVERecord?id=CVE-2026-3419
Source: ce714d77-add3-4f53-aff5-83d477b104bb
Resource:
VDB Entry

Change History

0
Information is not available yet

Similar CVEs

1Records found

CVE-2026-47674
Matching Score-4
Assigner-GitHub, Inc.
ShareView Details
Matching Score-4
Assigner-GitHub, Inc.
CVSS Score-5.3||MEDIUM
EPSS-0.04% / 13.42%
||
7 Day CHG~0.00%
Published-28 May, 2026 | 15:29
Updated-29 May, 2026 | 16:57
Rejected-Not Available
Known To Be Used In Ransomware Campaigns?-Not Available
KEV Added-Not Available
KEV Action Due Date-Not Available
Hono: IP Restriction bypasses static deny rules for non-canonical IPv6

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the ip-restriction middleware (hono/ip-restriction) compares incoming IP addresses against configured deny and allow rules using string equality after partial normalization. Non-canonical IPv6 representations of an address already listed in a static rule — such as compressed forms, explicit-zero forms, or hex-notation IPv4-mapped addresses — do not match the normalized rule entry, causing the rule to be silently skipped. This vulnerability is fixed in 4.12.21.

Action-Not Available
Vendor-honohonojs
Product-honohono
CWE ID-CWE-1289
Improper Validation of Unsafe Equivalence in Input
CWE ID-CWE-185
Incorrect Regular Expression
Details not found