CVE-2025-71176pytest
Medium 6.8
Follow: this CVE · pytest · pytest We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 6.8
- EPSS
- —
- Auth required
- Yes
- Published
- Jan 22, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-379
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
What happens
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.
What to do
- Apply the vendor's security update for pytest.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pytest |
< 9.0.3 |
9.0.3 |
pip install "pytest>=9.0.3" |
| PyPI | pytest |
< 9.0.3 |
9.0.3 |
pip install "pytest>=9.0.3" |
Per OSV / GitHub Advisories (GHSA-6w46-j5rx-g56g, PYSEC-2026-1845). Check the version in your lockfile before upgrading.
Affected products
- pytest · pytest
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python311-pytest-9.0.3-1.1 on GA media · SUSE · openSUSE-SU-2026:10666-1 · May 1, 2026 Medium
- Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update · Red Hat · RHSA-2026:8580 · Apr 20, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.