CVE-2026-118655 json
Echo: Static Middleware Double-Unescape Path Traversal
published 12d ago modified 4d ago also EUVD-2026-112461 , GHSA-xwq5-6cqp-vx96 , GO-2026-6885
- cvss
- 5.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 23%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/labstack/echo/v5 5.2.0
- go github.com/labstack/echo/v4 4.15.3
- labstack echo 4.15.3, 5.2.0
- github.com/labstack/echo@a9ede66 commit
- github.com/labstack/echo@c3fa2a2 commit
- github.com/labstack/echo#3006 pull request
- github.com/labstack/echo/releases/tag/v4.15.3 release
- github.com/labstack/echo/releases/tag/v5.2.0 release
Is CVE-2026-118655 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-118655 updated cvss 5.9
github.com/labstack/echo: Echo: Information disclosure via double URL decoding in static middleware
-
Red Hat All currently supported Red Hat productsnot 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
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 11d ago
Exploit prediction
0.30% chance of exploitation in the next 30 days, higher than 23% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/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.2.0 |
5.2.0 |
| go | github.com/labstack/echo/v4 | <4.15.3 |
4.15.3 |
Affected products
- labstack echo
Classification
- Weakness
-
- CWE-174 Double Decoding of the Same Data
References
-
github.com
/labstack/echo/pull/3006
web, patch
-
github.com
/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6
web, patch
-
github.com
/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725
web, patch
-
github.com
/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96
web, advisory
-
github.com
/labstack/echo/issues/2599
web, report
-
github.com
/labstack/echo/releases/tag/v4.15.3
web
-
github.com
/labstack/echo/releases/tag/v5.2.0
web
-
github.com
/labstack/echo
package
Sources
- CVE List CVE-2026-118655
- GitHub Advisory GHSA-xwq5-6cqp-vx96
- NVD CVE-2026-118655
- OSV GO-2026-6885
Fencer Intel 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.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.