Skip to content

chore(deps): patch dependabot vulnerabilities#36

Merged
davidchris merged 1 commit into
mainfrom
fix/dependabot-vulns
May 9, 2026
Merged

chore(deps): patch dependabot vulnerabilities#36
davidchris merged 1 commit into
mainfrom
fix/dependabot-vulns

Conversation

@davidchris
Copy link
Copy Markdown
Owner

Summary

  • Bumps transitive Jupyter stack and other vulnerable packages in uv.lock to patched versions covering all currently open Dependabot alerts.
  • Lowers tool.uv.exclude-newer from 7 days to 1 day so the lock stays consistent with pyproject.toml after pulling these patches in (the 7d window still excluded notebook/jupyter-server patches at lock time).

Patched alerts

Package From To Severity
jupyterlab 4.5.5 4.5.7 high (CommandLinker XSS), high (JupyterHub policy)
jupyter-server 2.17.0 2.18.0 high (path traversal), high (CORS bypass), medium (open redirect), medium (cookie-after-reset)
notebook 7.5.4 7.5.6 high (CommandLinker XSS)
python-dotenv 1.1.0 1.2.2 medium (symlink-following arbitrary file overwrite)
Mako 1.3.10 1.3.12 medium (path traversal in TemplateLookup)

All five are dev-only or transitive; runtime app code is unaffected.

Test plan

  • uv sync --locked succeeds
  • ruff check passes
  • uv run pytest passes (258 passed, 1 skipped)

Bump transitive Jupyter stack and other vulnerable deps to patched versions:
- jupyterlab 4.5.5 -> 4.5.7 (CommandLinker XSS, JupyterHub policy)
- jupyter-server 2.17.0 -> 2.18.0 (path traversal, CORS bypass, open redirect, cookie-after-reset)
- notebook 7.5.4 -> 7.5.6 (CommandLinker XSS)
- python-dotenv 1.1.0 -> 1.2.2 (symlink-following arbitrary file overwrite)
- Mako 1.3.10 -> 1.3.12 (path traversal in TemplateLookup)

Lower exclude-newer from 7d to 1d so the lockfile stays consistent with the
pyproject under uv's freshness policy after pulling these patches in.
@davidchris davidchris merged commit a9687e2 into main May 9, 2026
1 check passed
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