CVE-2026-118655: Echo: Static Middleware Double-Unescape Path Traversal
Vulnerability summary
CVE-2026-118655 is a medium (CVSS 5.9) Double Decoding of the Same Data vulnerability in labstack echo. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 23.6% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 28-10-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
Description
Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.0.
CVSS metrics
5 scores · 5 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · GoEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu3 products
- golang-github-labstack-echoAll versions (No fix recorded)
- golang-github-labstack-echo.v2All versions (No fix recorded)
- golang-github-labstack-echo.v3All versions (No fix recorded)
Github.com/labstack/echo2 products
- v4< 4.15.3
- v5< 5.2.0
Debian1 product
- golang-github-labstack-echoAll versions (No fix recorded)
Labstack1 product
- echo≥ 5.0.0, < 5.2.0 | < 4.15.3
4 vendors · 7 products
References
11 links- github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96X Refsource CONFIRMWEBREPORTAdvisory
- github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6X Refsource MISCWEBREPORTFIX
- github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725X Refsource MISCWEBREPORTFIX
- github.com/labstack/echoPACKAGE