CVE-2025-71176
published medium CVSS 3.1 · 6.8pytest: Denial of Service or Privilege Escalation via insecure temporary directory handling
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pytest | — | pytest0 through 9.0.2 · Other versions: unknown | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3253 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| SUSE / openSUSE | SLE-15-SP7 | python311-pytestnoarch | Advisory build | 8.3.5-150400.3.15.1 | SUSE-SU-2026:1744-1 |
| Amazon Linux | AL2 | python3-pytestnoarch | Listed in advisory | Not stated | ALAS2-2026-3253 |
| SUSE / openSUSE | SLE-16 | python313-pytestnoarch | Advisory build | 8.3.5-160000.3.1 | SUSE-SU-2026:21568-1 |
| SUSE / openSUSE | SLE-3-SP7 | python311-pytestnoarch | Advisory build | 8.3.5-150400.3.15.1 | SUSE-SU-2026:1744-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | python313-pytestnoarch | Advisory build | 8.3.5-160000.3.1 | OPENSUSE-SU-2026:20692-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytestaarch64 | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytestppc64le | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytests390x | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-pytestx86_64 | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytestaarch64 | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytestppc64le | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytests390x | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-pytestx86_64 | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytestaarch64 | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytestppc64le | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytests390x | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-pytestx86_64 | Advisory build | 9.0.3-1.1 | OPENSUSE-SU-2026:10666-1 |
| Amazon Linux | AL2 | python3-pytestsrc | Listed in advisory | Not stated | ALAS2-2026-3253 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pytest | pytest | 0 through 9.0.2 (affected · custom)Default: unknown | mitre · cna |
Weaknesses
1- CWE-379 CWE-379 Creation of Temporary File in Directory with Insecure Permissions
References
2Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 71aa0e2476637201ccd38372d10c9bf0564a13c355ee0cd0841ddde3d8064ea3
- Ingested
- 23 Sep 2026, 08:58:12 UTC
- Source record
- Official CVE record