Live threats

All CVEs / pytest

CVE-2025-71176pytest

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
—
Auth required
Yes
Published
Jan 22, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-379
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for pytest.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI pytest < 9.0.3 9.0.3 pip install "pytest>=9.0.3"
PyPI pytest < 9.0.3 9.0.3 pip install "pytest>=9.0.3"

Per OSV / GitHub Advisories (GHSA-6w46-j5rx-g56g, PYSEC-2026-1845). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.