6.8
MEDIUM CVSS 3.1
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
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
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
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 version that addresses the directory naming vulnerability. Apply temporary file cleanup.
  • 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

Updated: 3 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : May 18, 2026, 8 a.m. This repo has been linked 4 different CVEs too.

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

Updated: 3 weeks, 4 days ago
0 stars 0 fork 0 watcher
Born at : May 15, 2026, 3:25 p.m. This repo has been linked 2 different CVEs too.

AI Trading Platform

PLpgSQL TypeScript Dockerfile Python Shell HTML CSS

Updated: 3 weeks, 2 days ago
0 stars 0 fork 0 watcher
Born at : May 14, 2026, 12:19 p.m. This repo has been linked 1 different CVEs too.

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

Updated: 4 days, 10 hours ago
0 stars 0 fork 0 watcher
Born at : May 11, 2026, 8:11 p.m. This repo has been linked 5 different CVEs too.

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

Updated: 5 days, 7 hours ago
3 stars 0 fork 0 watcher
Born at : May 9, 2026, 1:36 a.m. This repo has been linked 1 different CVEs too.

Merge, deduplicate, and consensus-score SARIF output from multiple security scanners. One unified report instead of five overlapping ones.

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : May 3, 2026, 7:28 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 4 months ago
0 stars 0 fork 0 watcher
Born at : Feb. 4, 2026, 12:41 a.m. This repo has been linked 1 different CVEs too.

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

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 26, 2025, 2:07 p.m. This repo has been linked 2 different CVEs too.

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++

Updated: 1 month, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Feb. 19, 2023, 3:25 p.m. This repo has been linked 1 different CVEs too.

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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.