Conversation
`pip-audit` found six advisories (PYSEC-2026-1795, PYSEC-2026-1796, PYSEC-2026-196, PYSEC-2026-2875, PYSEC-2026-2876, PYSEC-2026-3721) against pip 25.1.1, the version apt's `python3-pip` installs and that `python3 -m venv` then carries into `/vagrant/venv` on both VMs. Fixes for these land across pip 25.3 through 26.2.0. CI already pins pip to 26.2.1 via `setup-python`'s `pip-version` input (commit `f1faa480`), for the same reason this now applies here: pip is the one tool that resolves every other pinned package, so leaving it unpinned left the resolver itself as the only unpinned, and in this case vulnerable, part of the environment. Add the identical pin directly to both provisioning blocks, right after venv creation and before installing `requirements_frozen.txt`. This does not touch either requirements file: pip excludes itself from its own freeze/compile output, so its version pin belongs outside the dependency closure those files describe, the same way CI already handles it. Verified live on the epub VM: `pip-audit` now reports 0 vulnerabilities in `/vagrant/venv`, down from 6. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pip-auditfound six advisories.pip-auditnow reports 0 vulnerabilities in/vagrant/venv, down from 6.