SCA: security update for github.com/labstack/echo/v4, github.com/labstack/echo/v5 (GHSA-r7w9-592q-9vg4)

medium Tenable Cloud Security Plugin ID 477835

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.16.0 and 5.4.0, Echo's MethodOverride middleware accepts a safe
HTTP method as the override target for a POST request. When MethodOverride is registered before CSRF in
the post-routing middleware chain, route selection retains the original state-changing POST handler but
the override changes the method before CSRF evaluates it, causing both token validation and Sec-Fetch-Site
checks to be skipped. A cross-site exploit requires an authenticated victim and an override value that a
browser-submitted request can control, such as the form getter used by the advisory reproducer; the
default X-HTTP-Method-Override header getter is not settable by a cross-site form. This issue is fixed in
4.16.0 and 5.4.0. (CVE-2026-118266)

Solution

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

See Also

https://github.com/advisories/GHSA-r7w9-592q-9vg4

Plugin Details

Severity: Medium

ID: 477835

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/29/2026

Updated: 10/29/2026

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.72

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

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

CVSS Score Source: CVE-2026-118266

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.6

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/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-118266

cwe: CWE-352