@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path…
Historical advisory recorded 25 Oct 2026 15:18:57 UTC. Read the latest advisory.
nvd · CVE-2026-7120
Published@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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-7120
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-180
Original publisher date fields
published: 2026-07-23T04:16:33.187
lastModified: 2026-07-28T17:05:24.913
1 source CPE criteria · context only
- cpe:2.3:a:fastify:fastify-static:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON