CVE-2025-71176Published Jan 22, 2026 · Jan 22Updated Oct 28
pytest has vulnerable tmpdir handling
pytest
Medium6.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| pytest PyPI |
|
|
Original description
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.
From the CVE record · mitre