chore(deps): bump mako and mistune to fix CVEs#249
Merged
ian-flores merged 1 commit intomainfrom May 8, 2026
Merged
Conversation
Both surfaced via pip-audit in CI on main: - mako 1.3.10 → 1.3.12 fixes CVE-2026-44307. Transitive via pytest-bdd. - mistune 3.2.0 → 3.2.1 fixes CVE-2026-33079. Transitive via nbconvert. Pinning each in pyproject.toml follows the existing pattern for transitive CVE fixes (see requests, pygments, python-multipart, pip, nbconvert, tornado, pyjwt, cryptography).
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses pip-audit findings by explicitly pinning minimum safe versions for two transitive dependencies (mako and mistune) in pyproject.toml, following the project’s existing “pin to safe lower bound with CVE comment” pattern.
Changes:
- Add
mako>=1.3.12to core dependencies to remediateCVE-2026-44307(viapytest-bdd). - Add
mistune>=3.2.1to thereportoptional extra to remediateCVE-2026-33079(vianbconvert).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Open
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.
Summary
pip-auditflagged two transitive CVEs on every recent CI run, including main:mako 1.3.10→CVE-2026-44307(fix in 1.3.12). Transitive viapytest-bdd.mistune 3.2.0→CVE-2026-33079(fix in 3.2.1). Transitive vianbconvert.Pinning the safe versions inline in
pyproject.tomlfollows the existing pattern (requests,pygments,python-multipart,pip,nbconvert,tornado,pyjwt,cryptography).Test plan
uvx pip-audit --skip-editable: no known vulnerabilitiesuv run pytest selftests/: 446 passeduv run ruff check src/ src/vip_tests/ selftests/ examples/uv run ruff format --check src/ src/vip_tests/ selftests/ examples/