Skip to content

fix: upgrade pytest to 9.0.3 (CVE-2025-71176)#161

Merged
d-v-b merged 1 commit into
mainfrom
fix/upgrade-pytest-cve-2025-71176
Apr 21, 2026
Merged

fix: upgrade pytest to 9.0.3 (CVE-2025-71176)#161
d-v-b merged 1 commit into
mainfrom
fix/upgrade-pytest-cve-2025-71176

Conversation

@lhoupert

@lhoupert lhoupert commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrades pytest from 8.4.1 to 9.0.3 in uv.lock to address CVE-2025-71176
  • No changes to pyproject.toml — the existing pytest>=7.0.0 constraint already allows 9.0.3

Security advisory

GHSA-6w46-j5rx-g56g — pytest through 9.0.2 on UNIX has insecure /tmp directory handling, enabling local attackers to cause denial of service or privilege escalation. Severity: Moderate (CVSS 6.8).

Why Dependabot didn't catch this

Dependabot's pip ecosystem does not support uv.lock, so it cannot raise PRs against lockfile-pinned versions. This is fixed in #160 which switches Dependabot to the uv ecosystem so future security patches are caught automatically.

Test plan

  • CI passes

🤖 Generated with Claude Code

Fixes insecure /tmp directory handling on UNIX systems.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lhoupert lhoupert requested a review from d-v-b April 21, 2026 15:13
@d-v-b d-v-b merged commit 27e1823 into main Apr 21, 2026
5 checks passed
@github-actions github-actions Bot mentioned this pull request Apr 21, 2026
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