PYSEC-2026-1845

pytest has vulnerable tmpdir handling

En bref

Publiée
Mise à jour
CVE
CVE-2025-71176
Alias
GHSA-6w46-j5rx-g56g
CVSS_V3
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

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.

Paquets affectés

PaquetVersions
PyPI · pytestintroduced 0, fixed 9.0.3

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database