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
-
ALAS2-2026-3253
Amazon Linux 2 2017.12 - ALAS2-2026-3253: medium priority package update for python3-pytest
-
AZL-75014
CVE-2025-71176 affecting package pytest 7.4.0-2
- CGA-36r3-2vmv-5g74
- CGA-4ph3-v24c-3hxr
- CGA-5g2m-cgh9-xg23
- CGA-67x3-mvf6-hwv2
- CGA-73qv-mqff-hrjr
- CGA-7g7r-2jwh-hmm7
- CGA-84f9-c4gj-7hgp
- CGA-cj9h-p6jj-9j8p
- CGA-cv98-4j9m-943m
- CGA-fr3f-4jvj-78cw
- CGA-frmx-4mwf-fqj7
- CGA-g4pj-rqcw-jw28
- CGA-ghmj-36mv-h9f9
- CGA-m5j2-q63p-r5rf
-
DEBIAN-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.
-
GHSA-6w46-j5rx-g56g
pytest has vulnerable tmpdir handling
-
PYSEC-2026-1845
pytest has vulnerable tmpdir handling
-
RHSA-2026:8580
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
-
RHVEX-CVE-2025-71176
pytest: pytest: Denial of Service or Privilege Escalation via insecure temporary directory handling
-
SUSEVEX-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.
-
UBUNTU-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.
-
openSUSE-SU-2026:10666-1
python311-pytest-9.0.3-1.1 on GA media