Skip to content

fix(deps): raise pymdown-extensions past two path-traversal/ReDoS advisories - #619

Merged
imran-siddique merged 1 commit into
mainfrom
fix/docs-tooling-advisories
Sep 7, 2026
Merged

fix(deps): raise pymdown-extensions past two path-traversal/ReDoS advisories#619
imran-siddique merged 1 commit into
mainfrom
fix/docs-tooling-advisories

Conversation

@imran-siddique

Copy link
Copy Markdown
Member

Closes the two advisories OpenSSF Scorecard reports against this repo. Dependabot reports nothing here because this is an open version range in requirements-docs.txt rather than a lockfile it tracks.

Advisory Fixed in What
PYSEC-2026-3609 11.0.0 Path traversal in the b64 extension: an <img src> can read files outside base_path
PYSEC-2026-3654 11.0.1 Exponential-backtracking ReDoS in the caret, tilde, betterem and magiclink inline processors

The floor was >=10.21.3, which covers the earlier sibling-prefix traversal regression but sits below both of these. Raised to >=11.0.2, the current release and the floor ca2a and trace-tests already use.

Docs tooling only. Nothing here reaches cmcp-runtime.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XbDBXDWWvMFa7c2jGgyq9t

OpenSSF Scorecard's Vulnerabilities check reports these against the
repository while Dependabot reports nothing, because the floors here are
open ranges rather than a lockfile it tracks. The advisories are real and
the fix is a floor bump.

mkdocs-material below 9.7.7 carries GHSA-xvg9-69gf-fjrf, a DOM XSS in
search suggestions reachable through a query parameter. That one lands on
the published docs site, not just the build.

pymdown-extensions below 11.0.2 carries a path traversal in the b64
extension that lets an <img src> read outside base_path
(PYSEC-2026-3609), a sibling-prefix traversal regression that defeats
restrict_base_path (PYSEC-2026-2999), and exponential-backtracking ReDoS
in several inline processors (PYSEC-2026-3654, PYSEC-2026-1825).

Docs tooling rather than runtime, so this does not touch the shipped
package. Sibling repos are already on these floors; these were the two
left behind.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XbDBXDWWvMFa7c2jGgyq9t
@imran-siddique
imran-siddique requested a review from a team as a code owner September 6, 2026 23:03
@imran-siddique
imran-siddique merged commit 83c3a12 into main Sep 7, 2026
14 checks passed
@imran-siddique
imran-siddique deleted the fix/docs-tooling-advisories branch September 7, 2026 00:34
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.

1 participant