Medium, CVSS 6.8PyPIAmendedPublished
pytest has vulnerable tmpdir handling
CVE-2025-71176 · GHSA-6w46-j5rx-g56g
- Affected
- PyPI pytest < 9.0.3
- Fixed in
- 9.0.3· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 9.0.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.