CVE-2026-6414 @fastify/static vulnerable to route guard bypass via encoded path separators
MediumCVSS 5.9
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
@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.
Upgrade path
12 packages: 3 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/devspaces/dashboard-rhel9(Red Hat openshift_devspaces 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel8(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| @fastify/static | >= 8.0.0, < 9.1.1 | 9.1.1 | Fixed |
| fastify @fastify/static(npm) | >= 8.0.0, < 9.1.1; >= 8.0.0, <= 9.1.0 | 9.1.1 | Fixed |
| fastify-static | >= 8.0.0, < 9.1.1 | 9.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| @fastify/static | >= 8.0.0, < 9.1.1 | 9.1.1 |
| fastify @fastify/static(npm) | >= 8.0.0, <= 9.1.0 | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel8(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-maas-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| redhat/devspaces/dashboard-rhel9(Red Hat:openshift_devspaces:3) | All versions | No fix listed |
| fastify-static | >= 8.0.0, < 9.1.1 | 9.1.1 |
| fastify @fastify/static(npm) | >= 8.0.0, < 9.1.1 | 9.1.1 |
References
- github.com not-applicable vendor-advisory
- github.com not-applicable vendor-advisory
- github.com vendor-advisory
- cna.openjsf.org third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Red Hat CVE page mitigation vendor-advisory
- Red Hat Bugzilla 2458939 issue-tracking
- www.cve.org
- github.com product