What’s Vulnerable › Vulnerabilities

CVE-2025-71176: pytest has vulnerable tmpdir handling

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.

Affected products

How to fix

Upgrade to a fixed version: Pypi Pytest 9.0.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-71176 or the next vulnerability affects your stack