{"id":"CVE-2020-36565","aliases":["CVE-2020-36565","GHSA-j453-hm5x-c46w","GO-2021-0051"],"related":[],"kind":"vulnerability","state":"published","title":"Directory traversal on Windows in github.com/labstack/echo/v4","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Debido a una sanitización incorrecta de la entrada del usuario en Windows, el controlador de archivos estáticos permite directory traversal, lo que permite a un atacante leer archivos fuera del directorio de destino para los que el servidor tiene permiso de lectura.","source":"nvd"}],"published":"2021-04-14T20:04:52.000Z","modified":"2026-06-17T03:15:45.120Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.1.18-0.20201215153152-4422e3b66b9f","status":"affected"}],"vendor":"github.com/labstack/echo/v4","product":"github.com/labstack/echo/v4","package":"github.com/labstack/echo/v4","platforms":["windows"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.2.0"}],"ecosystem":"Go","package":"github.com/labstack/echo/v4","purl":"pkg:golang/github.com/labstack/echo/v4","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.18-0.20201215153152-4422e3b66b9f"}],"ecosystem":"Go","package":"github.com/labstack/echo/v4","purl":"pkg:golang/github.com/labstack/echo/v4","source":"go"},{"ranges":[{"status":"affected","fixed":"4.2.0"}],"vendor":"labstack","product":"echo","cpe":"cpe:2.3:a:labstack:echo:*:*:*:*:*:go:*:*","source":"nvd"}],"references":[{"url":"https://github.com/labstack/echo/pull/1718","tags":["exploit","fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/labstack/echo/commit/4422e3b66b9fd498ed1ae1d0242d660d0ed3faaa","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0051","tags":["release-notes","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36565","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/labstack/echo","tags":["package"],"sources":["ghsa"]}],"credits":["@little-cui (Apache ServiceComb)"],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-23T15:38:06.629Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36565","url":"https://www.cve.org/CVERecord?id=CVE-2020-36565","licence":"CVE Terms of Use","modified":"2025-04-23T15:38:30.467Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j453-hm5x-c46w","url":"https://github.com/advisories/GHSA-j453-hm5x-c46w","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:47.726Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0051","url":"https://pkg.go.dev/vuln/GO-2021-0051","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36565","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36565","licence":"Public domain","modified":"2026-06-17T03:15:45.120Z"}],"updatedAt":"2026-11-25T22:57:58.762Z","epss":{"score":0.01351,"percentile":0.71676,"date":"2026-11-30T12:00:22.000Z"}}