Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-36565
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:29 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-36565
Complete source record
{
"id": "d42e6d604025fc48c12e081144c84acefcb24112b61113eba6569a8be16f5be5",
"url": "https://osv.dev/vulnerability/CVE-2020-36565",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-36565",
"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.",
"evidence": "osv:CVE-2020-36565",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-36565",
"aliases": [
"CVE-2020-36565",
"GHSA-j453-hm5x-c46w",
"GO-2021-0051"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/labstack/echo",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "b0f56eaf969bf5f8a6e4b6727f3f5fc7f44f36a0"
},
{
"fixed": "4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:labstack:echo:*:*:*:*:*:go:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.2.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v4.1.17",
"v4.1.16",
"v4.1.15",
"v4.1.14",
"v4.1.13",
"v4.1.12",
"v4.1.11",
"v4.1.10",
"v4.1.9",
"v4.1.8",
"v4.1.7",
"v4.1.6",
"v4.1.5",
"v4.1.4",
"v4.1.3",
"v4.1.2",
"v4.1.1",
"v4.1.0",
"v4.0.0",
"v3.3.10",
"v3.3.9",
"v3.3.8-retag",
"v3.3.7-retag",
"v3.3.6-retag",
"v3.3.5-retag",
"v3.3.4",
"3.3.4",
"v3.3.3",
"3.3.3",
"3.3.2",
"v3.3.1",
"3.3.1",
"v3.3.0",
"3.3.0",
"v3.2.6",
"3.2.6",
"v3.2.5",
"3.2.5",
"v3.2.4",
"3.2.4",
"v3.2.3",
"3.2.3",
"v3.3.2",
"v3.2.2",
"3.2.2",
"v3.2.1",
"v3.2.0",
"v3.1.0",
"v3.1.0-rc.1",
"v3.0.3",
"v3.0.2",
"v3.0.1",
"v3.0.0",
"v3.0.0-beta.2",
"v3.0.0-beta.1",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0-beta.2",
"v2.0.0-beta.1",
"v2.0.0-apha.2",
"v2.0.0-apha1",
"v2.0.0-apha.1",
"2.0.0-alpha",
"v1.3",
"v1.2.0",
"v1.1.0",
"v1.0.0",
"v0.0.16",
"v0.0.15",
"v0.0.14",
"v0.0.13",
"v0.0.12",
"v0.0.11",
"v0.0.10",
"v0.0.9",
"v0.0.8",
"v0.0.7",
"v0.0.6",
"v0.0.5",
"v0.0.4",
"v0.0.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-36565.json"
}
}
],
"modified": "2026-10-20T10:54:22.353390466Z",
"provider": "osv",
"references": [
"https://pkg.go.dev/vuln/GO-2021-0051",
"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa",
"https://github.com/labstack/echo/pull/1718"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-36565",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385220,
"published_at": "2022-12-07T17:15:09.91+00:00"
}