Security mailing lists by PureSourceCode

CVE-2025-71176

MEDIUM 6.8CVSS 3.1

pytest has vulnerable tmpdir handling

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.

Published
22 Jan 2026
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-379
Also known as
GHSA-6w46-j5rx-g56gPYSEC-2026-1845
Sources
NVDJSONOSV GHSA-6w46-j5rx-g56gJSONOSV PYSEC-2026-1845JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve@mitre.org (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
OSV PyPA CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI pytest < 9.0.3 9.0.3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 22 Jan 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 22 Jan 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.