Skip to main content

@fastify/static CVE-2026-90982

| EUVDEUVD-2026-81383 MEDIUM
Improper Handling of Case Sensitivity (CWE-178)
2026-09-17 openjs
5.3
CVSS 3.1 · Vendor: openjs
View

Attack ChainAIDerived

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

  1. Access
    Identify Fastify app on case-insensitive host
  2. Delivery
    Locate guard-protected static path
  3. Exploit
    Request path with altered letter case
  4. Execution
    Route matcher misses, falls to static handler
  5. Persist
    Filesystem resolves aliased path
  6. Impact
    Protected file contents disclosed

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
Exploitation Conditions

Exploitation requires three concrete conditions to all hold: (1) the @fastify/static plugin at a version before 10.1.4; (2) the server runs on a case-insensitive filesystem - specifically Windows, or the default (case-insensitive) macOS APFS volume - the flaw does NOT affect case-sensitive Linux filesystems; and (3) the application relies on a route guard or an allowedPath restriction to protect specific files under the static root. Given all three, an unauthenticated remote attacker simply alters the letter case of a protected path segment (e.g. '/Admin/secret' instead of '/admin/secret') so the case-sensitive route matcher misses the guard while the case-insensitive filesystem still resolves the same file. The primary limiting factor is the filesystem: production Node.js typically runs on case-sensitive Linux, where this is not exploitable.

Impact

This is a genuine but moderate-severity confidentiality issue, correctly rated 5.3 (Medium). The vendor CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N indicates network-reachable, unauthenticated exploitation with no user interaction, but impact is limited to reading a single protected file (C:L, no integrity or availability impact). No EPSS score, no CISA KEV listing, and no public POC were provided in the intelligence - exploitation status is 'no public exploit identified at time of analysis'. SSVC framework inputs were not supplied. The key limiting factor NOT captured in the raw CVSS score is that exploitation requires the server to run on a case-insensitive filesystem (Windows or the default macOS volume) AND to have a route guard or allowedPath restriction configured; Linux/case-sensitive deployments - which dominate production Node.js hosting - are entirely unaffected. The AC:L rating is arguably optimistic given this deployment precondition, though for an actually-vulnerable host the request itself is trivial. Net: a real, patch-worthy issue for Windows/macOS-hosted Fastify apps relying on route-guard authorization, but not a widespread emergency.

Exploit ScenarioDerived

A Fastify application running on Windows (or default macOS) serves static files behind a route guard that restricts access to '/admin/secret.json'. An unauthenticated attacker requests '/Admin/secret.json' (or '/admin/Secret.json'); the case-sensitive route matcher fails to match the guarded route so the request falls through to the static handler, but the case-insensitive filesystem resolves it to the same protected file, returning its contents. No public exploit code was identified in the provided intelligence.

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

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

Alert me

AnalysisAIv1 – Sep 17, 2026

Authorization bypass in @fastify/static before 10.1.4 lets an unauthenticated remote attacker read files that a route guard or allowedPath rule was meant to protect, but only when the server runs on a case-insensitive filesystem such as Windows or a default macOS APFS volume. The plugin's route matcher is case-sensitive while the underlying filesystem is not, so requesting a protected segment with altered letter case (for example '/Admin/secret' instead of '/admin/secret') misses the guard and still resolves to the same on-disk file; CVSS 3.1 rates this 5.3 (Medium) with AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N, reflecting a confidentiality-only impact limited to files inside the configured static root. This is not a directory traversal and it does not affect case-sensitive Linux deployments, where most Node.js production workloads run; no public exploit code and no confirmed active exploitation (CISA KEV) were identified at time of analysis.

RemediationAI

Vendor-released patch: 10.1.4. Upgrade @fastify/static to 10.1.4 or later, which validates the requested path against its actual on-disk spelling and rejects case-aliased paths before authorization runs; this closes the bypass without configuration changes and is the only complete fix, so treat it as the primary action and verify the resolved dependency version in your lockfile, since a transitive pin can silently hold the vulnerable release. If immediate upgrade is not possible, the workaround with the fewest side effects is to serve static content from a case-sensitive filesystem - a case-sensitive APFS volume on macOS, or a Linux container/host - which removes the aliasing that makes the bypass possible, at the cost of potential case-related breakage in existing app content or deployment tooling. The alternative workaround is to enumerate and register every letter-case permutation of each protected path in the route guard and allowedPath rules; this is brittle, scales combinatorially with path depth, and is easy to regress, so treat it as temporary. Patching mitigates the issue entirely; there is no way to disable the affected behavior short of upgrading or changing the filesystem, and blocking ports or network filtering does not help because the requests are ordinary, well-formed static requests. Consult the advisory at https://github.com/fastify/fastify-static/security/advisories/GHSA-r799-r9gc-m956 and the OpenJS CNA listing at https://cna.openjsf.org/security-advisories.html for vendor confirmation and any updates.

Affected VersionsENISA

@fastify/static 0 <10.1.4

Affected Packages

euvd fastify_static fix: 10.1.4

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

The flaw is rooted in CWE-178 (Improper Handling of Case Sensitivity) within @fastify/static, the official Fastify plugin that serves static assets from a configured root directory. Fastify resolves incoming request paths through a case-sensitive router, and applications commonly layer that router with authorization hooks or allowedPath options to gate specific files. On case-insensitive filesystems - Windows NTFS and the default (case-insensitive) macOS APFS volume - the OS itself canonicalizes path lookups, so '/ADMIN/secret' and '/admin/secret' designate the same file. Because the router's comparison is byte-exact, a case-mutated path fails to match the guarded route and falls through to the generic static handler, which opens the file successfully. Crucially, path resolution still occurs beneath the configured static root, so this is an authorization-bypass class issue rather than a traversal (CWE-22) primitive - nothing outside the root is reachable. The CVSS vector PR:N/AC:L confirms the bypass is reachable without credentials and without special conditions once the filesystem and configuration prerequisites are met, while C:L reflects that only confidentiality is affected. The upstream fix in 10.1.4 adds validation of the requested path against its actual on-disk spelling, rejecting case-aliased paths before authorization is evaluated.

Know when Fastify Static 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 (openjs) 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

Unauthenticated network request with trivial case-alteration (AV:N/AC:L/PR:N/UI:N); impact limited to reading one guard-protected file so C:L, I:N, A:N, no scope change.

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

CVSS VectorVendor: openjs

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

Lifecycle Timeline

2
Patch available
Sep 17, 2026 - 08:16 EUVD
CVE Published
Sep 17, 2026 - 06:55 cve.org
MEDIUM 5.3

DescriptionCVE.org

@fastify/static is a Fastify plugin that serves static files from a configured root directory. In versions before 10.1.4, on a case-insensitive filesystem such as Windows or the default macOS volume, a route guard or allowedPath restriction can be bypassed by altering the letter case of a path segment. The route matcher is case-sensitive while the filesystem is not, so a request that changes the case of a protected segment does not match the guarded route and falls through to the static handler, yet the filesystem resolves it to the same protected file. As a result, an unauthenticated request can read a file that a route guard or allowedPath was configured to protect. The issue does not affect case-sensitive filesystems and is not a directory traversal, since nothing is served from outside the configured root. The issue is fixed in @fastify/static 10.1.4, which validates the requested path against its actual on-disk spelling and rejects case-aliased paths before authorization. As a workaround, serve static files from a case-sensitive filesystem, or ensure route guards and allowedPath rules account for every letter-case variant of the protected paths.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
official Fastify static-file plugin, popular but gated to case-insensitive-FS deployments
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium
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.4%
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

Vendor StatusVendor

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