CVE-2025-71176
Pytest Temporary Directory Privilege Escalation
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.
INFO
Published Date :
Jan. 22, 2026, 5:16 a.m.
Last Modified :
April 15, 2026, 12:35 a.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
The following products are affected by CVE-2025-71176
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | 8254265b-2729-46b6-b9e3-3dfca2d5bfca | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update pytest to a secure version.
- Ensure temporary directory cleanup.
- Restrict access to temporary directories.
Public PoC/Exploit Available at Github
CVE-2025-71176 has a 9 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-71176.
| URL | Resource |
|---|---|
| https://github.com/pytest-dev/pytest/issues/13669 | |
| https://www.openwall.com/lists/oss-security/2026/01/21/5 |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-71176 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-71176
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
A DevSecOps demo project — REST API with a full security pipeline
Python Dockerfile
M&A Due Diligence automation — VDR document ingestion + Q-A with citation link back (PoC portfolio)
langgraph m-and-a pmi poc portfolio python rag
Python HTML
AI Trading Platform
PLpgSQL TypeScript Dockerfile Python Shell HTML CSS
A DevSecOps project with SAST, Trivy, pip-audit, Gitleaks, Checkov and pre-commit focus in a deployed project in AWS
bandit gitleaks trivy trivy-scan pip-audit pre-commit
A GPL-2.0 or later licensed, independent implementation of the OpenUSD (Universal Scene Description) file formats and core data model.
CMake Python C++ C Go Rust JavaScript TypeScript Shell
Merge, deduplicate, and consensus-score SARIF output from multiple security scanners. One unified report instead of five overlapping ones.
Python
None
Python
Modular, secure, and scalable Python stack for robust development - Security guards, Result types, Retry logic, Circuit breakers, and more.
python python3 stack devops toolkit utils api
Python Makefile PowerShell Shell Dockerfile
Official code release for the IROS 2025 paper Adaptive Large-Scale Novel View Image Synthesis for Autonomous Driving Datasets
CMake C++ Python GLSL C Dockerfile Shell Cuda Objective-C Objective-C++
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-71176 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-71176 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Jan. 22, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L Added CWE CWE-379 Added Reference https://github.com/pytest-dev/pytest/issues/13669 Added Reference https://www.openwall.com/lists/oss-security/2026/01/21/5