Creation of Temporary File in Directory with Incorrect Permissions Affecting pytest package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.15% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-PYTEST-16233147
  • published17 Nov 2026
  • disclosed22 Jan 2026

Introduced: 22 Jan 2026

CVE-2025-71176  (opens in a new tab)
CWE-379  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:26.04 pytest.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pytest package and not the pytest package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

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 Base Scores

version 3.1