SCA: security update for github.com/labstack/echo/v4, github.com/labstack/echo/v5 (GHSA-23wf-92cp-8pcj)

medium Tenable Self-Hosted Container Security Plugin ID 477802

Description

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

- Echo is a Go web framework. Prior to 4.15.2 and 5.1.1, Context.Scheme returns values from X-Forwarded-
Proto, X-Forwarded-Protocol, or X-Url-Scheme without validating that they are supported web schemes.
WWWRedirect and NonWWWRedirect use that value to construct a Location header, so an attacker controlling a
forwarded scheme header can cause a redirect to use an arbitrary URI scheme. Exploitation requires an
affected redirect middleware and user interaction with the response; the HTTPS-specific redirect variants
hardcode HTTPS and are unaffected. This issue is fixed in 4.15.2 and 5.1.1. (CVE-2026-118658)

Solution

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

See Also

https://github.com/advisories/GHSA-23wf-92cp-8pcj

Plugin Details

Severity: Medium

ID: 477802

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/29/2026

Updated: 10/29/2026

Risk Information

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2026-118658

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

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

Vulnerability Publication Date: 10/28/2026

Reference Information

CVE: CVE-2026-118658

cwe: CWE-601