CVE-2026-33806Fastify
High 7.5 No auth needed
Follow: this CVE · Fastify · Fastify We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 15, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Fastify.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | fastify |
≥ 5.3.2 < 5.8.5 |
5.8.5 |
npm install fastify@5.8.5 |
| npm | fastify |
≥ 5.0.0 < 5.3.2 |
5.3.2 |
npm install fastify@5.3.2 |
| npm | fastify |
≥ 4.29.0 < 4.29.1 |
4.29.1 |
npm install fastify@4.29.1 |
Per OSV / GitHub Advisories (GHSA-247c-9743-5963, GHSA-mg2h-6x62-wpwc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fastify | fastify | ≥ 5.3.2 < 5.8.5 |
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Vendor Advisory
- github.com Not Applicable
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com