CVE-2025-71176

Medium

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.

SeverityMedium
CVSS6.8
Exploit probability—
ProductPytest
PublishedJan 22, 2026
First seenJan 22, 2026
Weakness typeCWE-379CWE-379

How to fix

Update
  • pytest9.0.3 or later

Affected products

ProductAffected versionsFixed in
pytestPyPIv < 9.0.39.0.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2025-71176 · Pytest · Dark Radar