PyPI package vulnerability checker
Check any version of a Python package from PyPI for known vulnerabilities. See each CVE or PYSEC advisory, its severity and the release that fixes it.
The name you pip install: django, requests. Case, “-” and “_” do not matter.
One exact version, as in your lockfile. Not a range.
This tool asks the OSV API directly from your browser. It sends the PyPI package name and the version you check, and nothing is sent to HardenKit.
How to use the PyPI package vulnerability checker
- Enter the package name as you would give it to pip.
- Enter the exact version from pip freeze or your lockfile.
- Press the button to ask OSV.
- Read the table, worst first, and upgrade to the version in the “Fixed in” column or later.
About this tool
Python projects pin their dependencies in requirements.txt, poetry.lock or uv.lock, and a security advisory usually names one of those pins: Django 3.2.0, requests 2.25.1. Enter a package and an exact version here to see the known vulnerabilities that cover it and the release that fixes each one, without creating a virtual environment or installing anything.
Use the name you would pip install. PyPI treats names loosely: Django and django are the same project, and so are flask_appbuilder and Flask-AppBuilder, because case is ignored and “-”, “_” and “.” are interchangeable. The lookup follows the same rule. For the version, use what pip freeze or pip show prints, or the pin in your lockfile. A specifier such as >=3.2 is a range and cannot be checked.
The answers come from OSV, which includes the PyPA Advisory Database (the PYSEC IDs) and the GitHub Advisory Database. pip-audit, the PyPA’s own tool, reads the same advisories for a whole environment or requirements file. This page is for the single lookup: one package, one version, straight from the browser.
Sources
Questions
pip-audit scans an installed environment or a requirements file and reports on every package in it. This checker looks up one package version and needs no Python at all. Both use advisories from the PyPA Advisory Database.
It is the ID the Python Packaging Authority’s advisory database gives a vulnerability, for example PYSEC-2021-439. Most have a CVE ID and a GitHub advisory ID as well. We show one row per vulnerability and list the other IDs beside it.
No. PyPI normalizes names: case is ignored, and runs of hyphens, underscores and dots count as one hyphen. Django, django and DJANGO are one package.
Run pip show followed by the package name, or pip freeze for all of them. In a Poetry or uv project, the lockfile holds the exact version of every dependency, including indirect ones.