Skip to main content

Creation of Temporary File in Directory with Insecure Permissions in pytest

CVE-2025-71176

  • pytest
Severity Medium
Score 6.8/10

Summary

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.

  • LOW
  • LOCAL
  • LOW
  • CHANGED
  • NONE
  • NONE
  • LOW
  • LOW

CWE-379 - Creation of Temporary File in Directory with Insecure Permissions

The software creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.

Advisory Timeline

  • Published