#VU123607 Creation of temporary file in directory with insecure permissions in pytest - CVE-2025-71176
Published: March 6, 2026
Vulnerability identifier: #VU123607
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:L/E:U/U:Clear
CVE-ID: CVE-2025-71176
CWE-ID: CWE-379
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
pytest
pytest
Software vendor:
pytest-dev
pytest-dev
Description
The vulnerability allows a local user to gain access to escalate privileges on the system.
The vulnerability exists due to pytest on UNIX relies on directories with the /tmp/pytest-of-{user} name pattern. A local user can cause a denial of service or possibly gain privileges on the system.
Remediation
Install updates from vendor's website.