Skip to content
Fencer Vulns
high 7.5

CVE-2026-118650 json

Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path

published 2026-10-28 11 d ago modified 2026-11-05 3 d ago also GHSA-375p-5qhx-8wq4 , GO-2026-6873 , EUVD-2026-112404

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.4%
EPSS 0.4% chance of exploitation in 30 days, percentile 34%
public exploits
0
none known

Summary

Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0.

Patch / fix

  • go github.com/labstack/echo/v5 5.4.0
  • go github.com/labstack/echo/v4 4.16.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-118650 updated cvss 7.5

github.com/labstack/echo: Echo: Information disclosure via URL path interpretation discrepancy

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
6 d ago

Exploit prediction

0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/labstack/echo/security/advisories/GHSA-375p-5qhx-8wq4 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
go github.com/labstack/echo/v5
<5.4.0
>=5.0.0, <5.4.0
5.4.0
go github.com/labstack/echo/v4
<4.16.0
4.16.0

Affected products

  • labstack echo

Classification

Weakness
  • CWE-177 Improper Handling of URL Encoding (Hex Encoding)
  • CWE-863 Incorrect Authorization

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.