CVE-2020-24916: CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
CVE-2020-24916 is a critical-severity flaw (CVSS 9.8) affecting yaws, ubuntu linux, debian linux. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
Why this priority
- Critical severity
- EPSS top 3%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 17.4% (top 3%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2020-09-09 |
| 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
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: github.com/vulnbe/poc-yaws-cgi-shell-injection
- Write-up: packetstormsecurity.com/files/159106/Yaws-2.0.7-XML-Injection-Command-Injection.html
- Write-up: vuln.be/post/yaws-xxe-and-shell-injections/
- GitHub PoC: Live-Hack-CVE/CVE-2020-24916
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-24916?
yaws: upgrade to newer than 2.0.7; ubuntu linux: mitigate or apply the listed mitigation; debian linux: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2020-24916 being exploited?
CVE-2020-24916 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-24916 affect?
CVE-2020-24916 affects yaws, ubuntu linux, debian linux. Severity is critical (CVSS 9.8). CGI implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to OS command injection.
How urgent is CVE-2020-24916?
Priority 74/100. Critical severity; EPSS top 3%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Ubuntu vulnerabilities · Debian vulnerabilities
Related CVEs
- CVE-2020-24379 CRITICAL 9.8 UPGRADE MITIGATE WebDAV implementation in Yaws web server versions 1.81 to 2.0.7 is vulnerable to XXE injection.
- CVE-2020-12872 MEDIUM 5.5 UPGRADE yaws_config.erl in Yaws through 2.0.2 and/or 2.0.7 loads obsolete TLS ciphers, as demonstrated by ones that al
- CVE-2017-10974 HIGH 7.5 DOWNGRADE Yaws 1.91 allows Unauthenticated Remote File Disclosure via HTTP Directory Traversal with /%5C../ to port 8080
- CVE-2016-1000108 MEDIUM 6.1 UPGRADE MITIGATE yaws before 2.0.4 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does n
- CVE-2011-4350 MEDIUM 6.5 DOWNGRADE MITIGATE Yaws 1.91 has a directory traversal vulnerability in the way certain URLs are processed