SCA: security update for @fastify/express (GHSA-hrwm-hgmj-7p9c)

critical Tenable Self-Hosted Container Security Plugin ID 440467

Description

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

- @fastify/express v4.0.4 and earlier contains a path handling bug in the onRegister function that causes
middleware paths to be doubled when inherited by child plugins. When a child plugin is registered with a
prefix that matches a middleware path, the middleware path is prefixed a second time, causing it to never
match incoming requests. This results in complete bypass of Express middleware security controls,
including authentication, authorization, and rate limiting, for all routes defined within affected child
plugin scopes. No special configuration or request crafting is required. Upgrade to @fastify/express
v4.0.5 or later. (CVE-2026-33807)

Solution

Update the @fastify/express library and its related packages to version 4.0.5 or later.

See Also

https://github.com/advisories/GHSA-hrwm-hgmj-7p9c

Plugin Details

Severity: Critical

ID: 440467

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 4/16/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

Percentile: 96.78

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-33807

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

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

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/16/2026

Vulnerability Publication Date: 4/15/2026

Reference Information

CVE: CVE-2026-33807

cwe: CWE-436