# CVE-2025-32442: Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 5.3.2, 5.8.5 (CNA); fix release not confirmed
- Status: published
- Published: 2025-04-18 · Modified: 2025-08-22
- Aliases: GHSA-247c-9743-5963, CVE-2026-33806, GHSA-mg2h-6x62-wpwc
- Record: https://cvemate.com/vulnerability/CVE-2025-32442 · JSON: https://cvemate.com/vulnerability/CVE-2025-32442/json

## Description

```text
Impact:

Fastify applications using schema.body.content for per-content-type body validation can have validation bypassed entirely by prepending a space to the Content-Type header. The body is still parsed correctly but schema validation is skipped.

This is a regression introduced in fastify >= 5.3.2 by the fix for CVE-2025-32442

Patches:

Upgrade to fastify v5.8.5 or later.

Workarounds:

None. Upgrade to the patched version.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.744%, percentile 56.113%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- fastify fastify: = 4.29.0 \| ≥ 5.0.0, \< 5.3.2 \| 4.29.0 \| ≥ 5.3.2, \< 5.8.5
- Npm fastify (Npm): ≥ 5.0.0, \< 5.3.2 \| ≥ 4.29.0, \< 4.29.1 \| ≥ 5.3.2, \< 5.8.5

## References

- <https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc>
- <https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418>
- <https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4>
- <https://hackerone.com/reports/3087928>
- <https://github.com/fastify/fastify/security/advisories/GHSA-247c-9743-5963>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32442>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-33806>
- <https://cna.openjsf.org/security-advisories.html>
- <https://github.com/fastify/fastify>
- <https://github.com/fastify/fastify/releases/tag/v5.8.5>
- <https://access.redhat.com/security/cve/CVE-2026-33806>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2458596>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33806.json>

---

Data as of 2026-12-05T09:21:56.229Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
