CVE-2026-7120 json
@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths
published 3mo ago modified 3mo ago also EUVD-2026-47870 , GHSA-8pvw-jcv7-9cmj
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 31%
- public exploits
- 0
- none known
Summary
@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.
Patch / fix
- npm @fastify/static 10.1.2
- @fastify/static @fastify/static 10.1.2
Is CVE-2026-7120 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-7120 updated cvss 5.3
@fastify/static: @fastify/static: Information disclosure via improper path normalization
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat OpenShift Dev Spaces devspaces/dashboard-rhel9affected: no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +5 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 3mo ago
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 31% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @fastify/static | <10.1.2 |
10.1.2 |
Affected products
- @fastify/static @fastify/static
Classification
- Weakness
-
- CWE-180 Incorrect Behavior Order: Validate Before Canonicalize
References
-
github.com
/fastify/fastify-static/commit/878c72e920fabacf7e37739bf78057044717bf63
web
-
github.com
/fastify/fastify-static/security/advisories/GHSA-8pvw-jcv7-9cmj
web, vendor-advisory, advisory
-
cna.openjsf.org
/security-advisories.html
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-7120
advisory
-
github.com
/fastify/fastify-static
package
-
github.com
/fastify/fastify-static/releases/tag/v10.1.2
web
Sources
- CVE List CVE-2026-7120
- GitHub Advisory GHSA-8pvw-jcv7-9cmj
- NVD CVE-2026-7120
- Maintainer advisory GHSA-8pvw-jcv7-9cmj
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of fastify/fastify-static published their own advisory on GitHub. Reviewed sources take precedence over it.