Open redirect in https://github.com/fastify/fastify-static
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Partial Red Hat: 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601.
Summary
A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbitrary websites via a double slash // followed by a domain: http://localhost:3000//google.com/%2e%2e.The issue shows up on all the fastify-static applications that set redirect: true option. By default, it is false.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | https://github.com/fastify/fastify-static | Affects < v4.2.4. Fixed in >= v4.2.4 | — | No fix listed | CNA |
| — | fastify-static (npm) | before 4.2.4 | 4.2.4 | Patch available | GHSA-p6vg-p826-qp3v |
- https://github.com/fastify/fastify-static Vendor— Affected Affects < v4.2.4. Fixed in >= v4.2.4 Fixed in — No fix listed CNA
- fastify-static (npm) Vendor— Affected before 4.2.4 Fixed in 4.2.4 Patch available GHSA-p6vg-p826-qp3v
Remediation
- Fix · GHSA-p6vg-p826-qp3v fastify-static (npm) Fixed in 4.2.4 Advisory →
Red Hat 1 advisory
- RHSA-2022:0735 Released 2022-03-03 · Red Hat rating ImportantRed Hat Advanced Cluster Management 2.4.2 security updates and bug fixes
- Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8 rhacm2/acm-grafana-rhel8, rhacm2/acm-must-gather-rhel8, rhacm2/acm-operator-bundle +47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2021-22963
- 2026-10-03 Alias added: GHSA-p6vg-p826-qp3v
References
More Fastify-static vulnerabilities
- TI-2026-15143 @fastify/static vulnerable to route guard bypass via non-canonical path segments CVSS 3.1HIGH 7.5
- TI-2026-12689 @fastify/static vulnerable to route guard bypass via path traversal CVSS 3.1HIGH 7.5
- TI-2021-05825 Uncontrolled resource consumption in https://github.com/fastify/fastify-static CVSS 3.1HIGH 8.8
- TI-2026-05626 @fastify/static vulnerable to path traversal in directory listing CVSS 3.1MEDIUM 5.3
- TI-2026-06243 @fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths CVSS 3.1MEDIUM 5.3
- TI-2026-05629 @fastify/static vulnerable to route guard bypass via encoded path separators CVSS 3.1MEDIUM 5.9
Sources
- CVE-2021-22963 · CVE Program
- CVE-2021-22963 · NVD
- FIRST EPSS
- GHSA-p6vg-p826-qp3v · GitHub Advisory Database · CC BY 4.0
- CVE-2021-22963 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences