CVE Explorer
CVE-2026-6414
@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2F) before filesystem resolution, while Fastify's router treats them as literal characters. This mismatch allows attackers to bypass route-based middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/@fastify/static","product":"@fastify/static","vendor":"@fastify/static","versions":[{"lessThan":"9.1.1","status":"affected","version":"8.0.0","versionType":"semver"},{"status":"unaffected","version":"9.1.1","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":5.9,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-177","description":"CWE-177: Improper Handling of URL Encoding (Hex Encoding)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/references/3
{"url":"https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/references/2
{"url":"https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/references/0
{"url":"https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f41238afc9b90e098e85f39f66ab6f657b4b3a70f4b369a67d43d6be5820e5ec · sha256:521f1b0e122efaab… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.