CVE-2020-28468Pwntools Project Pwntools
Critical 9.8 No auth needed
Follow: this CVE · Pwntools Project · Pwntools Project Pwntools We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 4.4% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jan 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-74
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
This affects the package pwntools before 4.3.1. The shellcraft generator for affected versions of this module are vulnerable to Server-Side Template Injection (SSTI), which can lead to remote code execution.
What to do
- Apply the vendor's security update for Pwntools.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pwntools |
< 4.3.1 |
4.3.1 |
pip install "pwntools>=4.3.1" |
| PyPI | pwntools |
< 4.3.1 |
4.3.1 |
pip install "pwntools>=4.3.1" |
Per OSV / GitHub Advisories (GHSA-7xc5-ggpp-g249, PYSEC-2021-72). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pwntools_project | pwntools | < 4.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Exploit Patch Third Party Advisory