Vulnerability in Pytest

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.

EPSS: 0.000 (1.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-71176?
CVE-2025-71176 is a medium-severity vulnerability in Pytest, classified under Creation of Temporary File in Directory with Insecure Permissions. CVSS score: 6.8/10. Published 2026-01-22.
How severe is CVE-2025-71176?
Medium severity. CVSS v3 base score is 6.8 out of 10.