SCA: security update for rack (GHSA-h2jq-g4cq-5ppq)

high Tenable Cloud Security Plugin ID 439705

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
determines whether a request should be served as a static file using a simple string prefix check. When
configured with URL prefixes such as "/css", it matches any request path that begins with that string,
including unrelated paths such as "/css-config.env" or "/css-backup.sql". As a result, files under the
static root whose names merely share the configured prefix may be served unintentionally, leading to
information disclosure. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
(CVE-2026-34785)

Solution

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

See Also

https://github.com/advisories/GHSA-h2jq-g4cq-5ppq

Plugin Details

Severity: High

ID: 439705

Version: Revision 1.6

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: 3

Percentile: 23.74

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

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

CVSS Score Source: CVE-2026-34785

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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: 4/2/2026

Vulnerability Publication Date: 4/2/2026

Reference Information

CVE: CVE-2026-34785