Read the docs
TI-2025-43316 Aliases CVE-2025-71176GHSA-6w46-j5rx-g56g

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

VendorProductAffected versionsFixed inStatusSource
pytestpytestup to 9.0.2—No fix listedCNA
—pytest (PyPI)before 9.0.39.0.3Patch availableGHSA-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 Moderate
    Red 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 →

ProductStatusPlan or fix
OpenShift Service Mesh 2AffectedNo fix yet: Fix deferred
Red Hat AI Inference ServerAffectedNo fix yet: Fix deferred
Red Hat Ansible Automation Platform 2AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet: Fix deferred
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat OpenShift Dev SpacesAffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 16.2AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 17.1AffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Satellite 6AffectedNo fix yet: Fix deferred
Service Telemetry Framework 1.5AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:8580

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-71176
  2. 2026-10-03 Alias added: GHSA-6w46-j5rx-g56g

References

  • 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