CVE-2020-28468
Improper Control of Generation of Code ('Code Injection')
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.1
Improper Control of Generation of Code ('Code Injection')
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.
- Record
CVE-2020-28468- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Updated
- 2026-11-02
EUVDEUVD-2021-0204
8.1
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.
- Record
EUVD-2021-0204- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7xc5-ggpp-g249
9.3
pwntools Server-Side Template Injection (SSTI) vulnerability
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.
- Record
GHSA-7xc5-ggpp-g249- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2020-28468- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-74
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2020-28468- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-7xc5-ggpp-g249
9.3
pwntools Server-Side Template Injection (SSTI) vulnerability
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.
- Record
GHSA-7xc5-ggpp-g249- CVSS 4.0
- 9.3 Critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-74
- Updated
- 2026-11-02
OSVPYSEC-2021-72 No score
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.
- Record
PYSEC-2021-72- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pwntoolsPyPI |
before 4.3.1 | 4.3.1 |
pwntoolsPyPI |
before 4.3.1, plus listed versions 2.02.1.02.1.12.1.22.1.3 Show 45 moreShow less2.23.0.03.0.13.0.23.0.43.1.03.1.0b03.1.0b13.1.0b23.1.0b33.1.13.10.03.10.0b03.10.0b13.10.0b23.11.03.11.0b03.12.03.12.0b03.12.13.12.23.13.03.13.0b03.2.03.2.0b03.2.0b23.2.0b33.2.0b43.2.0b53.2.13.3.03.3.0b03.3.13.3.23.3.33.3.43.4.03.4.0b03.4.0b13.4.0b23.4.0b33.4.0b43.4.13.5.03.5.0b0 |
4.3.1 |
pwntoolsPyPI |
before 4.3.1, plus listed versions 2.02.1.02.1.12.1.22.1.3 Show 45 moreShow less2.23.0.03.0.13.0.23.0.43.1.0b03.1.0b13.1.0b23.1.0b33.1.03.1.13.2.0b03.2.0b23.2.0b33.2.0b43.2.0b53.2.03.2.13.3.0b03.3.03.3.13.3.23.3.33.3.43.4.0b03.4.0b13.4.0b23.4.0b33.4.0b43.4.03.4.13.5.0b03.5.0b13.5.03.5.13.6.0b03.6.0b13.6.03.6.13.7.0b03.7.0b13.7.03.7.13.8.0b03.8.0b1 |
4.3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-28468 is a high vulnerability (CVSS 8.1) in Pwntools Project Pwntools, published January 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.38%, the 91st percentile. Fixed in pwntools 4.3.1.
References
snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345
github.com/Gallopsled/pwntools/issues/1427
github.com/Gallopsled/pwntools/pull/1732
nvd.nist.gov/vuln/detail/CVE-2020-28468
github.com/Gallopsled/pwntools/commit/138188eb1c027a2d0ffa4151511c407d3a001660
github.com/advisories/GHSA-7xc5-ggpp-g249
github.com/pypa/advisory-database/tree/main/vulns/pwntools/PYSEC-2021-72.yaml
github.com/Gallopsled/pwntools
Left out here: 72 versions. The JSON record has them.