Skip to content
RedCVE

CVE-2026-90982Fastify Static @fastify/static improper access control

@fastify/staticPublished:

CVSS score

5.3

Medium

CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb

Exploit probability (EPSS)

0.58%

0.58% chance of exploitation in the next 30 days, higher than 48.9% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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

Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb

How to fix it, step by step

  1. Check whether you're affected

    Find every system running @fastify/static and compare its version with the affected versions.

  2. Update to a fixed version

    • Update @fastify/static to 10.1.4 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

Affected productsVersions
@fastify/static @fastify/static< 10.1.4

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-90982 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.6% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-90982?

CVE-2026-90982 has a CVSS 3.1 base score of 5.3 (medium).

Which versions are affected?

Fastify Static @fastify/static (< 10.1.4)

Is there a patch for CVE-2026-90982?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.