CVE catalog

CVE-2025-71176

pytest: CVE-2025-71176

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.15% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpytestsid9.1.1-1vulnerable
Debianpytestforky9.1.1-1vulnerable
Debianpytesttrixie8.3.5-2vulnerable
Debianpytestbookworm7.2.1-2vulnerable
PyPIpytestNot reported9.0.3fixed
Opensusepython-pytesttumbleweed9.0.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpytestsourcesid(unfixed)unimportantNot reportedNot reported
Debianpytestsourceforky(unfixed)unimportantNot reportedNot reported
Debianpytestsourcetrixie(unfixed)unimportantNot reportedNot reported
Debianpytestsourcebookworm(unfixed)unimportantNot reportedNot reported
PyPIpytestPyPINot reported9.0.3Not reportedGHSA-6W46-J5RX-G56GNot reported
Opensusepython-pytestrpmtumbleweed9.0.3-1.1Not reportedOPENSUSE-SU-2026:10666-1Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [python3-pytest]Affected

    Source package: [pytest]

    Details (2)
    • 7.2.1-2 · all · bookworm

      Affected

      dsa · pytest · debian · bookworm; dsa · pytest · debian · 12

    • 7.2.1-2 · all · bookworm

      Affected

      dsa · pytest · debian · bookworm; dsa · pytest · debian · 12

  • Source package: [pytest]

    Details (2)
    • 7.2.1-2 · all · bookworm

      Affected

      dsa · pytest · debian · bookworm; dsa · pytest · debian · 12

    • 7.2.1-2 · all · bookworm

      Affected

      dsa · pytest · debian · bookworm; dsa · pytest · debian · 12

[Debian 13 (Trixie)]

  • [python3-pytest]Affected

    Source package: [pytest]

    Details (4)
    • 8.3.5-2 · all · trixie

      Affected

      dsa · pytest · debian · 13

    • 8.3.5-2 · all · trixie

      Affected

      dsa · pytest · debian · 13

    • 9.1.1-1~bpo13+1 · all · trixie-backports

      Affected

      dsa · pytest · debian · 13

    • 9.1.1-1~bpo13+1 · all · trixie-backports

      Affected

      dsa · pytest · debian · 13

  • Source package: [pytest]

    Details (2)
    • 0.15.0++9.1.1-1~bpo13+1 · all · trixie-backports

      Affected

      dsa · pytest · debian · 13

    • 0.15.0++9.1.1-1~bpo13+1 · all · trixie-backports

      Affected

      dsa · pytest · debian · 13

  • Source package: [pytest]

    Details (4)
    • 8.3.5-2 · all · trixie

      Affected

      dsa · pytest · debian · 13

    • 8.3.5-2 · all · trixie

      Affected

      dsa · pytest · debian · 13

    • 9.1.1-1~bpo13+1 · all · trixie-backports

      Affected

      dsa · pytest · debian · 13

    • 9.1.1-1~bpo13+1 · all · trixie-backports

      Affected

      dsa · pytest · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-pytest]

    Details (1)
    • 9.0.3-1.2 · noarch · tumbleweed

      Unknown · Fixed: 9.0.3-1.1

      Version impact unknown

      dsa · python-pytest · opensuse · tumbleweed

  • Source package: [python-pytest]

    Details (1)
    • 9.0.3-1.2 · noarch · tumbleweed

      Unknown · Fixed: 9.0.3-1.1

      Version impact unknown

      dsa · python-pytest · opensuse · tumbleweed

Observed:

References