patchminder
Proof of concept · GitHub CVE-2021-3572

Vulnerabilityin the pip package.

Published 10 Nov 2021 · Updated 8 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 5.7
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.8% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 21.1 or later
In plain words

A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could possibly use this issue to install a different revision on a repository. The highest threat from this vulnerability is to data integrity. This is fixed in python-pip version 21.1.

What to do now
  • Upgrade pip (PyPI) to 21.1 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
python-pip
Not confirmed
Not confirmed
CVE record
pip (PyPI)
before 21.1
21.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 1 Jun 2021
    CVE ID reserved by redhat.
  2. 7 Jun 2021
    First public proof of concept on GitHub.
  3. 10 Nov 2021
    Published in the CVE List.
  4. 8 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundfrenzymadness/CVE-2021-35722 stars · created 7 Jun 2021A simple repository helping to test CVE-2021-3572 in PyPA/pip

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

Same weakness: Improper input validation

All CWE-20 vulnerabilities

References
Cite this page

Patchminder. CVE-2021-3572: Vulnerability in the pip package. https://patchminder.com/cve/cve-2021-3572/ (accessed 5 December 2026).