CVE-2020-36565: Due to improper sanitization of user input on Windows, the static file handler allows for directory traversal,
CVE-2020-36565 is a medium-severity flaw (CVSS 5.3) affecting echo. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.4% (top 27%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2022-12-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-36565?
echo: upgrade to 4.2.0. Exact commands for each OS are on this page.
Is CVE-2020-36565 being exploited?
CVE-2020-36565 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-36565 affect?
CVE-2020-36565 affects echo. Severity is medium (CVSS 5.3). 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.
How urgent is CVE-2020-36565?
Priority 47/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2025-51741 HIGH 7.5 DOWNGRADE An issue was discovered in Veal98 Echo Open-Source Community System 2.2 thru 2.3 allowing an unauthenticated a
- CVE-2022-40083 CRITICAL 9.6 DOWNGRADE Labstack Echo v4.8.0 was discovered to contain an open redirect vulnerability via the Static Handler component