Vulnerability · Published Jan 22, 2026 · Assigned by mitre

CVE-2025-71176

Medium 6.8

In plain English

A medium-severity security flaw in pytest from pytest. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 5% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.8Medium
Exploit odds (30 days)0.2%top 95.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12pytestno fix listedDEBIAN-CVE-2025-71176
Debian:13pytestno fix listedDEBIAN-CVE-2025-71176
Debian:14pytestno fix listedDEBIAN-CVE-2025-71176
PyPIpytest9.0.3GHSA-6w46-j5rx-g56g
PyPIpytest9.0.3PYSEC-2026-1845
Ubuntu:22.04:LTSpytestno fix listedUBUNTU-CVE-2025-71176
Ubuntu:24.04:LTSpytestno fix listedUBUNTU-CVE-2025-71176
Ubuntu:25.10pytestno fix listedUBUNTU-CVE-2025-71176
Ubuntu:26.04:LTSpytestno fix listedUBUNTU-CVE-2025-71176
Ubuntu:26.10pytestno fix listedUBUNTU-CVE-2025-71176

Affected products (as reported)

VendorProductVersions
pytest pytest 0 – through 9.0.2

Weakness: CWE-379 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

References