VDB

CVE-2020-36565

CVE-2020-36565 PUBLISHED CVSS 5.300000190734863 MEDIUM

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.

PackageEcosystemFixed in
github.com/labstack/echo/v4Go Modules4.2.0, 4.1.18-0.20201215153152-4422e3b66b9f
echolabstack4.2.0

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
github.com/labstack/echo/v4github.com/labstack/echo/v40
github.com/labstack/echo/v4github.com/labstack/echo/v40
github.comlabstack/echo/v40

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›