CVSS 3.1
6.8 mediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:LMedium (6.8) in pytest pytest. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in pytest 9.0.3.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:Lpytest (PyPI): fixed in 9.0.3Explain CVE-2025-71176 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-71176?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-71176?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-71176 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| pytest | through 9.0.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-6w46-j5rx-g56g | PyPI | pytest | <9.0.3 | 9.0.3 |
| PYSEC-2026-1845 | PyPI | pytest | <9.0.3 | 9.0.3 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | pytest | no fix listed | DEBIAN-CVE-2025-71176 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | pytest | no fix listed | UBUNTU-CVE-2025-71176 |
| Red Hat | hummingbird:1 | pytest, python3-pytest | 0:9.0.3-1.hum1 | RHSA-2026:8580 |
| openSUSE | Tumbleweed | python-pytest | 9.0.3-1.1 | openSUSE-SU-2026:10666-1 |
| Azure Linux | 3 | pytest | no fix listed | AZL-75014 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Moderate.
This vulnerability is rated Moderate for Red Hat products. The flaw in pytest allows a local attacker to cause a denial of service or potentially gain privileges by manipulating temporary directories in `/tmp`. This primarily affects systems where pytest is installed and executed by local users.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | pytest-main-9.0.3-1.hum1 | Fixed 2026-04-16 | RHSA-2026:8580 |
| OpenShift Service Mesh 2 | openshift-service-mesh/grafana-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-cni-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-must-gather-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-operator-bundle | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/istio-rhel8-operator | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/pilot-rhel8 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/proxyv2-rhel9 | Fix deferred | |
| OpenShift Service Mesh 2 | openshift-service-mesh/ratelimit-rhel8 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-rocm-rhel9 | Fix deferred | |
| Red Hat AI Inference Server | rhaiis/vllm-spyre-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/ansible-dev-tools-rhel8 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/ansible-dev-tools-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-26/controller-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/ansible-devspaces-rhel9 | Fix deferred | |
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-tech-preview/automation-dashboard-rhel9 | Fix deferred | |
| Red Hat Enterprise Linux 10 | pytest | Fix deferred | |
| Red Hat Enterprise Linux 7 | pytest | Fix deferred | |
| Red Hat Enterprise Linux 8 | pytest | Fix deferred | |
| Red Hat Enterprise Linux 8 | python38-devel:3.8/pytest | Fix deferred | |
| 57 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-71176.