CVE-2026-7120
Last modified
CVE-2026-7120 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. @fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify-Static | < 10.1.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-7120?
How severe is CVE-2026-7120?
How do I fix CVE-2026-7120?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7117A weakness has been identified in code-projects Employee Man…6.3
- CVE-2026-7118A security vulnerability has been detected in code-projects …6.3
- CVE-2026-7119A vulnerability was detected in Tenda HG3 2.0. The impacted …8.8
- CVE-2026-71190In OpenStack Swift through 2.38.0, the proxy server Accept h…8.7
- CVE-2026-71191In OpenStack Swift through 2.38.0, S3API middleware does not…6
- CVE-2026-71192In OpenStack Swift through 2.38.0, the S3API middleware does…6
- CVE-2026-71201In OpenStack Ironic through 38.0.0, a project reader that ma…5
- CVE-2026-71202The raster Rust crate's crop function (src/editor.rs) clamps…7.5
- CVE-2026-71203changedetection.io's REST API resources are protected by an …5.3
- CVE-2026-71204changedetection.io's /settings save handler builds an update…6.2
- CVE-2026-71205changedetection.io's /login route checks the submitted passw…6.5
- CVE-2026-71206Shiori's CheckToken function (internal/domains/auth.go) vali…8.3
Are you affected by CVE-2026-7120?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
