Is pytest safe? Known vulnerabilities by version
pytest is a Python package on PyPI. We track 3 of its versions: 1 of them has known vulnerabilities.
The newest stable version we track with no known advisory, as of 22 November 2026. A newer release may exist on PyPI.
Vulnerabilities by version
Every advisory for pytest
-
Medium
CVSS 6.8
CVE-2025-71176: pytest has vulnerable tmpdir handling
Affects 8.3.4 (of the versions we track).
Licence
Every version we track declares MIT (from deps.dev).
Check your whole project
pytest is one package among hundreds in a lockfile. Upload your lockfile, or paste a public GitHub repository, and get every vulnerable package with the version that fixes it. Free, and no account needed.
Get emailed about new advisories for pytest (free, no account)
About this data
Vulnerability data: OSV.dev, last checked 22 November 2026. Licences: deps.dev. These pages list the versions AIssue checks every day for the projects it monitors, not every version ever released.