Every CVE Search/ Get API key

CVE-2020-28468

Improper Control of Generation of Code ('Code Injection')

8.1 HighFix available

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

4.38%Up 2.6 points since Apr 14, 2021
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 CriticalCVSS: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 CriticalCVSS: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 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV: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 CriticalCVSS: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 CriticalCVSS: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 CriticalCVSS: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

Affected packages
PackageAffectedFixed
pwntools
PyPI
before 4.3.1
4.3.1
pwntools
PyPI
before 4.3.1, plus listed versions
2.02.1.02.1.12.1.22.1.3
Show 45 moreShow less
2.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
pwntools
PyPI
before 4.3.1, plus listed versions
2.02.1.02.1.12.1.22.1.3
Show 45 moreShow less
2.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

History
RecordedChangedSources
facts
aliases, publishedEUVD
first indexedCVE 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

This page doesn't list everything

Left out here: 72 versions. The JSON record has them.

MoveEnter Open