Skip to content

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

Merged
mlim19 merged 2 commits intomasterfrom
fix_cve_pytest_v2
Apr 28, 2026
Merged

Update pytest to 9.0.3 to fix CVE-2025-71176#277
mlim19 merged 2 commits intomasterfrom
fix_cve_pytest_v2

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
  • Fixes black formatting in proc_events.py

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.
Fixes black formatting in proc_events.py.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mlim19 mlim19 requested a review from dkorlovs April 27, 2026 22:15
@mlim19 mlim19 enabled auto-merge (squash) April 27, 2026 22:15
@mlim19 mlim19 disabled auto-merge April 27, 2026 22:15
@mlim19 mlim19 merged commit b8b7d9a into master Apr 28, 2026
9 checks passed
@mlim19 mlim19 deleted the fix_cve_pytest_v2 branch April 28, 2026 16:06
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.

2 participants