Home / @fastify/express / @fastify/express / CVE-2026-6556
CVE-2026-6556: is it exploited, and which versions of @fastify/express are affected and fixed?
CVE-2026-6556 is an improper authorization vulnerability in @fastify/express. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: @fastify/express before 4.0.7 (CVE record by openjs). Fixed in 4.0.7 (CVE record by openjs). Severity: Critical (9.1, CVSS 3.1, from openjs).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-6556?
@fastify/express vulnerable to middleware bypass via non-string mount paths in prefixed plugins
@fastify/express versions 4.0.6 and earlier only rewrite the plugin prefix for middleware mount paths when the path argument is a string. Non-string mount paths (arrays of paths and regular expressions) are left unprefixed inside prefixed plugin scopes, so middleware registered with those forms does not match the actual prefixed request path. Applications that use path-scoped middleware for authentication, authorization, rate limiting, or auditing on routes inside a prefixed scope can be bypassed by sending a request to the prefixed route, because Fastify still matches the route but the middleware is skipped. Patches: upgrade to @fastify/express 4.0.7. Workarounds: use string mount paths instead of arrays or regular expressions in prefixed plugins, or register one use call per path.
From the CVE record by openjs, last updated June 30, 2026, 13:30 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| @fastify/express | @fastify/express | before 4.0.7 | 4.0.7 |
As the CVE record by openjs states it, last updated June 30, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| fastify | fastify\/express | before 4.0.7 | application |
NVD analysis (status Analyzed), last modified July 1, 2026, 15:57 UTC.
How severe is CVE-2026-6556?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | openjs |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-6556 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, June 30, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-285 Improper Authorization
Where are the vendor advisories and references?
- https://github.com/fastify/fastify-express/security/advisories/GHSA-3wf5-7852-vcfq
- https://cna.openjsf.org/security-advisories.html
Who found and reported it?
- Jvr2022 (reporter)
- UlisesGascon (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 18, 2026
- Published
- June 30, 2026, 12:48 UTC
- CVE record updated
- June 30, 2026, 13:30 UTC by openjs
- NVD
- Analyzed, last modified July 1, 2026, 15:57 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect @fastify/express?
- Nov 26, 2026CVE-2026-135280 @fastify/express: improper Handling of Case Sensitivity
- Nov 26, 2026CVE-2026-135270 @fastify/express: interpretation Conflict
- Nov 26, 2026CVE-2026-135264 @fastify/express: interpretation Conflict
- Nov 26, 2026CVE-2026-135230 @fastify/express: incorrect Regular Expression
- Nov 26, 2026CVE-2026-135279 @fastify/express: authentication bypass (improper authentication)
- Nov 21, 2026CVE-2026-133120 @fastify/express: double Decoding of the Same Data
- Nov 21, 2026CVE-2026-129850 @fastify/express: improper Handling of Case Sensitivity
- Nov 21, 2026CVE-2026-129504 @fastify/express: interpretation Conflict
Questions about CVE-2026-6556
Is CVE-2026-6556 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of @fastify/express are affected by CVE-2026-6556?
@fastify/express before 4.0.7, per the CVE record by openjs. The tables above give every range the sources list.
Which version fixes CVE-2026-6556?
4.0.7, per the CVE record by openjs. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-6556?
Critical (9.1, CVSS 3.1, from openjs). The severity table above shows each score with its source.
Where is the official record of CVE-2026-6556?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.