Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-71176 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-379Creation of Temporary File in Directory with Insecure Permissions[email protected]

Affected Products

ProductVersions
pytest
All versions

CPE

  • cpe:2.3:a:pytest:py:*:*:*:*:*:*:*:*

Remediation

  • Workaround:low effort

    Create a temporary directory securely using 'mktemp -d' and set the PYTEST_DEBUG_TEMPROOT environment variable to point to this directory.

  • Mitigation:low effort

    On Linux, set the following sysctls: fs.protected_fifos = 2, fs.protected_regular = 2, fs.protected_symlinks = 1, fs.protected_hardlinks = 1.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-71176
NVD Published Date:
Jan 22, 2026
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]