Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend request for directory or extensionless path
-
ExploitallowedPath guard validates only the requested pathname
-
Execution@fastify/send resolves to default index.html or extension match
-
ImpactDenied file streamed unchecked to unauthenticated client
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the application to use @fastify/static's allowedPath callback as the access-control boundary to deny specific files within the static root, while leaving the default index option and/or the extensions option enabled. The denied file must be reachable either as a directory default index (e.g. /private/ → /private/index.html) or via extension resolution (e.g. /secret → secret.html). No authentication is required (PR:N) and no user interaction is needed (UI:N). Exploitation is NOT possible against the default configuration unless an application specifically relies on allowedPath to hide files; it is neutralized by disabling the index and extensions options, by denying the directory and extensionless forms in allowedPath, or by upgrading to 10.1.8. Impact is confined to reading files already present inside the configured static root. |
| Impact | This is a moderate-severity authorization bypass (CWE-863) with a confirmed CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (5.3). The network vector, low complexity, and no privileges/interaction mean any unauthenticated client can trigger it, but impact is bounded to confidentiality only (C:L), limited to reading files already inside the configured static root - not arbitrary filesystem traversal, write, or code execution. No EPSS score was supplied in the input, and the vulnerability is NOT in CISA KEV, so there is no signal of active exploitation. No working exploit code is identified - the only references are the GHSA advisory and the OpenJSF advisory index, not a weaponized PoC. The vuln.today decision label is 'this_month' (not act_now/emergency), consistent with a real but non-emergency issue. The practical risk is conditional: it only matters for applications that specifically rely on allowedPath to hide particular files within the static root while leaving index/extensions resolution enabled. For deployments not using allowedPath as a security boundary, real-world exposure is minimal despite the network-reachable vector. The input Tag 'Authentication Bypass' is imprecise - CWE-863 and the advisory describe an authorization/route-guard bypass, not authentication bypass. |
| Exploit ScenarioDerived | An application serves a directory with @fastify/static and uses allowedPath to deny a sensitive file such as /private/index.html. An unauthenticated attacker instead requests the directory form /private/ (or the extensionless form /secret for secret.html); the allowedPath guard only inspects the requested pathname and permits it, after which @fastify/send resolves the request to the denied file and streams it back. No public working exploit code is identified, though the bypass mechanism is fully documented in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Authorization bypass in @fastify/static before 10.1.8 lets unauthenticated clients read files inside the static root that the application explicitly denied, provided the app uses the allowedPath callback as its access-control boundary while the index and/or extensions options remain enabled. The guard only ever sees the requested pathname, so requesting /private/ (resolving to /private/index.html) or /secret (resolving through extensions to secret.html) skips the denial check and the resolved file is streamed to the client. Default configurations that do not rely on allowedPath to hide files are not exploitable, and there is no public exploit identified at time of analysis; the vendor-released fix is version 10.1.8.
RemediationAI
Vendor-released patch: upgrade @fastify/static to 10.1.8 or later, as documented in GHSA-p497-qc9q-9hgx (https://github.com/fastify/fastify-static/security/advisories/GHSA-p497-qc9q-9hgx) and the OpenJS CNA advisory index (https://cna.openjsf.org/security-advisories.html). Where upgrading is not immediately possible, the vendor documents two workarounds: extend allowedPath so it also denies the directory and extensionless forms of every protected file (denying /private/ and /secret in addition to /private/index.html and /secret.html), with the trade-off that the guard must be kept in sync with the served file layout and any new index or extension entry; or disable the index and extensions options entirely, which removes the resolution paths the bypass depends on but changes application behavior by no longer serving default index files or extensionless URLs. Note that the protections only matter for deployments that currently rely on allowedPath to keep files inside the static root private; review any such guard against the resolved paths it is expected to block.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
@fastify/static is the official Fastify plugin for serving static files and delegates the actual file selection and streaming to the underlying @fastify/send library. The root cause is an improper authorization check (CWE-863): the allowedPath callback is invoked with only the raw requested pathname, before @fastify/send performs its own resolution steps - collapsing a directory request onto its default index file, and resolving an extensionless request onto a file matching one of the configured extensions. Because the resolved file is streamed afterwards without being re-validated against allowedPath, the authorization decision is made against a different identifier than the resource that is ultimately disclosed. No CPE strings were supplied in the input; the affected artifact is identified by package coordinates, npm/@fastify/static, vulnerable below 10.1.8. A related advisory, GHSA-r799-r9gc-m956 (CVE-2026-90982), covers the same allowedPath guard through a case-spelling bypass vector, indicating the guard has had multiple resolution-mismatch weaknesses. The trigger described in the supplied sources is exclusively the index/extension resolution mismatch; the review did not confirm exploitation of any other path form.
Know when Node.js gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Remote unauthenticated request with no interaction (AV:N/AC:L/PR:N/UI:N); only confidentiality of files within the static root is affected (C:L, I:N, A:N, S:U).
Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).
CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb
Lifecycle Timeline
1DescriptionCVE.org
@fastify/static is the Fastify plugin for serving static files. In versions before 10.1.8, the allowedPath guard receives only the requested pathname, but the underlying send step selects the file to serve afterwards, so a request for a directory resolves to its default index file and an extensionless request resolves through the configured extensions to a matching file. The selected file is streamed without being re-checked against allowedPath, so a guard that denies a specific file is bypassed by requesting its directory or extensionless form. An unauthenticated client can read files inside the static root that the application meant to keep private whenever the denied file is reachable as a directory index or an extension match. The issue is fixed in @fastify/static 10.1.8, and users should upgrade to 10.1.8 or later. As a workaround, also deny the directory and extensionless forms in allowedPath, or disable the index and extensions options.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-130436
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB