Vulnerability
CVE-2025-71176
pytest through 9.0.2 on UNIX relies on directories with the /tmp/pytest-of-{user} name pattern, which allows local users to cause a denial of service or possibly gain privileges.
24 advisories report this vulnerability, across 10 ecosystems.
Advisories in PyPI
-
GHSA-6w46-j5rx-g56g
pytest has vulnerable tmpdir handling
-
PYSEC-2026-1845
pytest has vulnerable tmpdir handling