Skip to content

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

Merged
mlim19 merged 1 commit intomasterfrom
fix_cve_pytest
Apr 28, 2026
Merged

Update pytest to 9.0.3 to fix CVE-2025-71176#1035
mlim19 merged 1 commit intomasterfrom
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 granulate-utils submodule with pytest-asyncio 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

  • gprofiler tests pass (17 passed)
  • granulate-utils tests pass (48 passed)

Dependencies

🤖 Generated with Claude Code

@mlim19 mlim19 requested a review from dkorlovs April 27, 2026 22:11
dkorlovs
dkorlovs previously approved these changes Apr 28, 2026
Fixes vulnerable tmpdir handling that could allow local users to cause
DoS or gain privileges via /tmp/pytest-of-{user} directories.

Updates granulate-utils submodule to include pytest-asyncio 1.3.0 for
pytest 9.x compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@mlim19 mlim19 merged commit a5534c8 into master Apr 28, 2026
12 of 13 checks passed
@mlim19 mlim19 deleted the fix_cve_pytest branch April 28, 2026 16:12
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