SCA: security update for @fastify/static (GHSA-8pvw-jcv7-9cmj)

medium Tenable Cloud Security Plugin ID 445254

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- @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. (CVE-2026-7120)

Solution

Update the @fastify/static library and its related packages to version 10.1.2 or later.

See Also

https://github.com/advisories/GHSA-8pvw-jcv7-9cmj

Plugin Details

Severity: Medium

ID: 445254

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/24/2026

Updated: 7/24/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2026-7120

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/24/2026

Vulnerability Publication Date: 7/23/2026

Reference Information

CVE: CVE-2026-7120

cwe: CWE-180