NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-71176: pytest has vulnerable tmpdir handling

mediumCVSS 3.1 6.8GHSA-6w46-j5rx-g56g

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.

Published Jan 22, 2026 · Updated Apr 13, 2026

Affected packages

pytest

Ecosystem
PyPI
Affected
< 9.0.3
Fixed in
9.0.3
Check
pip show pytest

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to adamjstewart, MatheusCylo.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology