CVE-2025-71176
Unknown
Unknown - Not Provided
Directory Traversal in pytest Allows Local DoS and Privilege Escalation
Publication date: 2026-01-22
Last updated on: 2026-01-22
Assigner: MITRE
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| pytest | pytest | 9.0.2 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-379 | The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file. |