SCA: security update for github.com/labstack/echo/v5 (GHSA-pgvm-wxw2-hrv9)

medium Tenable Self-Hosted Container Security Plugin ID 437773

Description

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

- Echo is a Go web framework. In versions 5.0.0 through 5.0.2 on Windows, Echo’s `middleware.Static` using
the default filesystem allows path traversal via backslashes, enabling unauthenticated remote file read
outside the static root. In `middleware/static.go`, the requested path is unescaped and normalized with
`path.Clean` (URL semantics). `path.Clean` does not treat `\` as a path separator, so `..\` sequences
remain in the cleaned path. The resulting path is then passed to `currentFS.Open(...)`. When the
filesystem is left at the default (nil), Echo uses `defaultFS` which calls `os.Open` (`echo.go:792`). On
Windows, `os.Open` treats `\` as a path separator and resolves `..\`, allowing traversal outside the
static root. Version 5.0.3 fixes the issue. (CVE-2026-25766)

See Also

https://github.com/advisories/GHSA-pgvm-wxw2-hrv9

Plugin Details

Severity: Medium

ID: 437773

Version: Revision 1.10

Type: Local

Family: SCA Checks

Published: 2/18/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.9

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

CVSS Score Source: CVE-2026-25766

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/17/2026

Vulnerability Publication Date: 2/17/2026

Reference Information

CVE: CVE-2026-25766

cwe: CWE-22