pytest
Affected
- introduced
0, fixed9.0.3(ecosystem)
Fixed versions
9.0.3
Fix
- Fixed version
9.0.3pip install --upgrade pytest==9.0.3
Advisory
Also known as: CVE-2025-71176, GHSA-6w46-j5rx-g56g
pytest has vulnerable tmpdir handling
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.
Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
0, fixed 9.0.3 (ecosystem)9.0.3
9.0.3pip install --upgrade pytest==9.0.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0