SCA: security update for rack (GHSA-q4qf-9j86-f5mh)

medium Tenable Self-Hosted Container Security Plugin ID 439715

Description

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

- Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6,
Rack::Static#applicable_rules evaluates several header_rules types against the raw URL-encoded PATH_INFO,
while the underlying file-serving path is decoded before the file is served. As a result, a request for a
URL-encoded variant of a static path can serve the same file without the headers that header_rules were
intended to apply. In deployments that rely on Rack::Static to attach security-relevant response headers
to static content, this can allow an attacker to bypass those headers by requesting an encoded form of the
path. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6. (CVE-2026-34786)

Solution

Update the rack library and its related packages to version 2.2.23 or later.

See Also

https://github.com/advisories/GHSA-q4qf-9j86-f5mh

Plugin Details

Severity: Medium

ID: 439715

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/3/2026

Updated: 7/2/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:N/I:P/A:N

CVSS Score Source: CVE-2026-34786

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:N/I:L/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: 4/2/2026

Vulnerability Publication Date: 4/2/2026

Reference Information

CVE: CVE-2026-34786

cwe: CWE-180