~ / search / GHSA-6w46-j5rx-g56g

GHSA-6w46-j5rx-g56g

pytest has vulnerable tmpdir handling

Source: GitHub Advisory Database (reviewed) Moderate CVE-2025-71176

Packages

EcosystemPackageAffectedFixed in
PyPI pytest < 9.0.3 9.0.3

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.