SCA: security update for github.com/labstack/echo/v5 (GHSA-h53f-rm2w-w7rg)

medium Tenable Cloud Security Plugin ID 477254

Description

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

- Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5's ExtractIPFromRealIPHeader validates whether
the client-supplied X-Real-IP value belongs to a trusted range instead of validating the direct network
peer. A client reaching Echo directly, or through a proxy that preserves the header, can supply a loopback
or private address and have Context.RealIP return that spoofed identity. Applications using the extractor
for IP allowlists, rate limiting, audit logs, or forwarding headers can consequently trust an attacker-
controlled address; the default direct extractor and Echo v4 are unaffected. This issue is fixed in 5.4.1.
(CVE-2026-118265)

Solution

Update the github.com/labstack/echo/v5 library and its related packages to version 5.4.1 or later.

See Also

https://github.com/advisories/GHSA-h53f-rm2w-w7rg

Plugin Details

Severity: Medium

ID: 477254

Version: Revision 1.2

Type: Local

Family: SCA Checks

Published: 10/24/2026

Updated: 10/29/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-118265

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: 10/23/2026

Vulnerability Publication Date: 10/23/2026

Reference Information

CVE: CVE-2026-118265

cwe: CWE-348