{"id":"CVE-2025-71176","aliases":["CVE-2025-71176","GHSA-6w46-j5rx-g56g","PYSEC-2026-1845"],"related":[],"kind":"vulnerability","state":"published","title":"pytest has vulnerable tmpdir handling","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"pytest hasta la versión 9.0.2 en UNIX depende de directorios con el patrón de nombre /tmp/pytest-of-{user}, lo que permite a usuarios locales causar una denegación de servicio o posiblemente obtener privilegios.","source":"nvd"}],"published":"2026-01-22T04:59:17.273Z","modified":"2026-09-10T03:50:32.768Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":6.8,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-379"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"9.0.2","status":"affected"}],"vendor":"pytest","product":"pytest","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.0.3"}],"ecosystem":"PyPI","package":"pytest","purl":"pkg:pypi/pytest","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.0.3"}],"ecosystem":"PyPI","package":"pytest","purl":"pkg:pypi/pytest","source":"pysec"}],"references":[{"url":"https://github.com/pytest-dev/pytest/issues/13669","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.openwall.com/lists/oss-security/2026/01/21/5","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71176","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pytest-dev/pytest/pull/14343","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pytest-dev/pytest/commit/95d8423bd24992deea5b9df32555fa1741679e2c","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pytest-dev/pytes","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pytest-dev/pytest/releases/tag/9.0.3","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pytest","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-6w46-j5rx-g56g","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-22T12:26:25.446Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71176","url":"https://www.cve.org/CVERecord?id=CVE-2025-71176","licence":"CVE Terms of Use","modified":"2026-01-22T12:26:39.653Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6w46-j5rx-g56g","url":"https://github.com/advisories/GHSA-6w46-j5rx-g56g","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:32.768Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71176","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71176","licence":"Public domain","modified":"2026-06-17T10:03:47.830Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1845","url":"https://osv.dev/vulnerability/PYSEC-2026-1845","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:51.848Z"}],"updatedAt":"2026-11-25T22:59:10.755Z","epss":{"score":0.00154,"percentile":0.0472,"date":"2026-12-01T12:00:22.000Z"}}