CVE-2020-36565
Directory traversal on Windows in github.com/labstack/echo/v4
Reported by go · Published December 7, 2022
github.com/labstack/echo/v4 is fixed in 4.2.0 and 4.1.18-0.20201215153152-4422e3b66b9f (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/labstack/echo/v4 | Go Modules | 4.2.0, 4.1.18-0.20201215153152-4422e3b66b9f |
| echo | labstack | 4.2.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| github.com/labstack/echo/v4 | github.com/labstack/echo/v4 | 0 |
| github.com/labstack/echo/v4 | github.com/labstack/echo/v4 | 0 |
| github.com | labstack/echo/v4 | 0 |
Timeline
- Dec 7, 2022 CVE Published
- Dec 8, 2022 EPSS Score (30 in total, the first dated here)
- Apr 23, 2025 CVE Updated
- Mar 17, 2026 Security Advisory
- Aug 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-36565
vulnetix vdb fixes CVE-2020-36565
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-36565/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart