Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-71176
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:14 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-71176
Complete source record
{
"id": "650c2c2340d7c61b876cd4845ceaae150b5d30f77dda773e1c9cdb4eea062eb0",
"url": "https://osv.dev/vulnerability/CVE-2025-71176",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-71176",
"summary": "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.",
"evidence": "osv:CVE-2025-71176",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-71176",
"aliases": [
"CVE-2025-71176",
"GHSA-6w46-j5rx-g56g",
"PYSEC-2026-1845"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pytest-dev/pytest",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "3d10b5148e03eb82b3ee29181dbdc73cf82699e2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "9.0.2"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"9.0.2",
"8.5.0.dev0",
"8.3.0",
"8.3.0.dev0",
"8.2.0.dev0",
"8.1.0.dev0",
"8.0.0.dev0",
"7.4.0.dev0",
"7.2.0.dev0",
"7.1.0.dev0",
"6.3.0.dev0",
"6.2.0.dev0",
"3.1.3",
"2.8.5",
"2.8.3",
"2.8.2",
"2.8.1",
"2.8.0",
"2.7.0",
"2.6.3",
"2.6.2",
"2.6.1",
"2.6.0",
"2.5.2",
"2.5.1",
"2.5.0",
"2.4.2",
"2.4.1",
"2.4.0",
"2.3.4",
"2.3.3",
"2.3.2",
"2.3.1",
"2.3.0",
"2.2.4",
"2.2.3",
"2.2.2",
"2.2.1",
"2.2.0",
"2.1.3",
"2.1.2",
"2.1.0",
"2.0.3",
"2.0.2",
"2.0.1",
"2.0.0",
"1.3.3",
"1.3.2",
"1.3.1",
"1.3.0",
"1.2.1",
"1.2.0",
"1.1.1",
"1.1.0",
"1.0.0b3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-71176.json"
}
}
],
"modified": "2026-10-28T02:30:37.766580285Z",
"provider": "osv",
"references": [
"https://www.openwall.com/lists/oss-security/2026/01/21/5",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71176.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-71176",
"https://github.com/pytest-dev/pytest/issues/13669"
],
"provider_metadata": {
"cwe_ids": [
"CWE-379"
],
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71176.json"
}
},
"related_cves": [
{
"value": "CVE-2025-71176",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505211,
"published_at": "2026-01-22T04:59:17.273+00:00"
}