Skip to content

Update pytest to 9.0.3 to fix CVE-2025-71176#276

Closed
mlim19 wants to merge 2 commits into
masterfrom
fix_cve_pytest
Closed

Update pytest to 9.0.3 to fix CVE-2025-71176#276
mlim19 wants to merge 2 commits into
masterfrom
fix_cve_pytest

Conversation

@mlim19
Copy link
Copy Markdown
Contributor

@mlim19 mlim19 commented Apr 27, 2026

Summary

  • Updates pytest from 8.3.5 to 9.0.3 to fix CVE-2025-71176 (vulnerable tmpdir handling)
  • Updates pytest-asyncio from 0.26.0 to 1.3.0 for pytest 9.x compatibility

CVE Details

  • CVE-2025-71176: 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
  • Severity: Medium (CVSS 6.8)
  • Fix: Upgrade to pytest 9.0.3+

Test plan

  • All granulate-utils tests pass (48 passed)

🤖 Generated with Claude Code

mlim19 and others added 2 commits March 30, 2026 19:47
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixes vulnerable tmpdir handling that could allow local users to cause
DoS or gain privileges.

Also updates pytest-asyncio to 1.3.0 for pytest 9.x compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant