Directory traversal on Windows in github.com/labstack/echo/v4
Priority MEDIUM 63CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.
Summary
Due to improper sanitization of user input on Windows, the static file handler allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01413 72nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed github.com/labstack/echo/v4 (github.com/labstack/echo/v4): 4.1.18-0.20201215153152-4422e3b66b9fgithub.com/labstack/echo/v4 (Go): 4.2.0
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| github.com/labstack/echo/v4 | github.com/labstack/echo/v4 | before 4.1.18-0.20201215153152-4422e3b66b9f | 4.1.18-0.20201215153152-4422e3b66b9f | Patch available | CNA |
| — | github.com/labstack/echo/v4 (Go) | before 4.2.0 | 4.2.0 | Patch available | GHSA-j453-hm5x-c46w |
- github.com/labstack/echo/v4 Vendorgithub.com/labstack/echo/v4 Affected before 4.1.18-0.20201215153152-4422e3b66b9f Fixed in 4.1.18-0.20201215153152-4422e3b66b9f Patch available CNA
- github.com/labstack/echo/v4 (Go) Vendor— Affected before 4.2.0 Fixed in 4.2.0 Patch available GHSA-j453-hm5x-c46w
Remediation
- Fix · CNA github.com/labstack/echo/v4 (github.com/labstack/echo/v4) Fixed in 4.1.18-0.20201215153152-4422e3b66b9f
- Fix · GHSA-j453-hm5x-c46w github.com/labstack/echo/v4 (Go) Fixed in 4.2.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-36565
- 2026-10-03 Alias added: GHSA-j453-hm5x-c46w
References
More labstack Echo vulnerabilities
- TI-2022-18981 Labstack Echo v4.8.0 was discovered to contain an open redirect vulnerability via the… CVSS 3.1CRITICAL 9.6
- TI-2026-20833 Echo has a Windows path traversal via backslash in middleware.Static default filesystem CVSS 3.1MEDIUM 5.3
Sources
- CVE-2020-36565 · CVE Program
- CVE-2020-36565 · NVD
- FIRST EPSS
- GHSA-j453-hm5x-c46w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences