llamaCVEVulnerability Intelligence
/
fastify

CVE-2026-3419

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

Texto original en inglés · Ver en español

Parche disponiblesecurity flaw
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N Fuente: CNA
ExplotaciónSin evidenciaSSVC: ninguna · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -1 d de la divulgación
Exposición260 dDesde la divulgación, 6 mar 2026, 12:50 p. m.
Detección255 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Un riesgo moderado es un riesgo con modales.Tranqui, va para la ventana de mantenimiento.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 5.8.1
Monitoreo
Detectada
5 mar 26
6 mar 26
9 mar 26
17 nov 26
21 nov 26
5 mar 26
10 may 26
14 jul 26
17 sept 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 5.8.1 fastify · -1 d desde divulgación
Divulgación Publicada CVE-2026-3419 divulgada · CVSS 5.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen

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.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:N
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
fastify≥ 5.7.2 < 5.8.1
5.7.2
5.8.1
5.12.8
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmfastify
Corregida 5.8.1 -1 d 5.12.8 no afectada
Versiones corregidas5.8.1
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Registro
EscenarioGENERALopenjs
Referencias
Fabricantehttps://github.com/fastify/fastify/security/advisories/GHSA-573f-x89g-hqp9
Otrahttps://github.com/fastify/fastify/commit/67f6c9b32cb3623d3c9470cc17ed830dd2f083d7
Otrahttps://httpwg.org/specs/rfc9110.html#field.content-type
Otrahttps://github.com/advisories/GHSA-573f-x89g-hqp9
Otrahttps://cna.openjsf.org/security-advisories.html
recordhttps://www.cve.org/CVERecord?id=CVE-2026-3419

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.