Skip to main content

@fastify/static CVE-2026-115515

| EUVDEUVD-2026-130436 MEDIUM
Incorrect Authorization (CWE-863)
2026-11-19 ce714d77-add3-4f53-aff5-83d477b104bb
5.3
CVSS 3.1 · Vendor: ce714d77-add3-4f53-aff5-83d477b104bb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send request for directory or extensionless path
  2. Exploit
    allowedPath guard validates only the requested pathname
  3. Execution
    @fastify/send resolves to default index.html or extension match
  4. Impact
    Denied 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

@fastify/static 0 <10.1.8

Affected Packages

euvd fastify_static fix: 10.1.8

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

Vendor (ce714d77-add3-4f53-aff5-83d477b104bb) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 5.3 MEDIUM

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (ce714d77-add3-4f53-aff5-83d477b104bb).

CVSS VectorVendor: ce714d77-add3-4f53-aff5-83d477b104bb

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 19, 2026 - 19:34 EUVD

DescriptionCVE.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

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular Fastify static-file plugin, common in Node.js web applications
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-68613 HIGH POC
8.8 Dec 19

Remote code execution in n8n's workflow expression evaluation system allows an authenticated user with workflow creation

CVE-2024-41713 CRITICAL POC
9.1 Oct 21

A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2024-35286 CRITICAL POC
9.8 Oct 21

A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy