pytest through 9.0.2 on UNIX relies on directories with the /tmp/pytest-of-{user} name…
Priority LOW 29CWE-379Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 1 fixed, 16 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00154 4th percentileScored 2026-11-07
Fix Partial pytest (PyPI): 9.0.3Red Hat: 1 advisoryRed Hat: 1 fixed, 16 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pytest | pytest | up to 9.0.2 | — | No fix listed | CNA |
| — | pytest (PyPI) | before 9.0.3 | 9.0.3 | Patch available | GHSA-6w46-j5rx-g56g |
- pytest Vendorpytest Affected up to 9.0.2 Fixed in — No fix listed CNA
- pytest (PyPI) Vendor— Affected before 9.0.3 Fixed in 9.0.3 Patch available GHSA-6w46-j5rx-g56g
Remediation
- Fix · GHSA-6w46-j5rx-g56g pytest (PyPI) Fixed in 9.0.3 Advisory →
Red Hat 1 advisory
- RHSA-2026:8580 Released 2026-04-16 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images pytest-9.0.3-1.hum1@src, python3-pytest-9.0.3-1.hum1@noarch@public-hummingbird-aarch64-rpms, python3-pytest-9.0.3-1.hum1@noarch@public-hummingbird-x86_64-rpms
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 2 | Affected | No fix yet: Fix deferred |
| Red Hat AI Inference Server | Affected | No fix yet: Fix deferred |
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift AI (RHOAI) | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat OpenShift Dev Spaces | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 16.2 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 17.1 | Affected | No fix yet: Fix deferred |
| Red Hat OpenStack Platform 18.0 | Affected | No fix yet: Fix deferred |
| Red Hat Satellite 6 | Affected | No fix yet: Fix deferred |
| Service Telemetry Framework 1.5 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:8580 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-71176
- 2026-10-03 Alias added: GHSA-6w46-j5rx-g56g
References
Other 6
- https://github.com/pytest-dev/pytest/issues/13669
- https://www.openwall.com/lists/oss-security/2026/01/21/5
- https://github.com/pytest-dev/pytest/pull/14343
- https://github.com/pytest-dev/pytest/commit/95d8423bd24992deea5b9df32555fa1741679e2c
- https://github.com/pytest-dev/pytes
- https://github.com/pytest-dev/pytest/releases/tag/9.0.3
More pytest vulnerabilities
- TI-2022-20949 The py library through 1.11.0 for Python allows remote attackers to conduct a ReDoS… CVSS 3.1HIGH 7.5
- TI-2020-17809 A denial of service via regular expression in the py.path.svnwc component of py (aka… CVSS 3.1HIGH 7.5
Sources
- CVE-2025-71176 · CVE Program
- CVE-2025-71176 · NVD
- FIRST EPSS
- GHSA-6w46-j5rx-g56g · GitHub Advisory Database · CC BY 4.0
- CVE-2025-71176 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences