Highlights
Auth Bypass: 1 prior fix. Scrutinize any change in this area.
python_packages/jupyter_lsp/jupyter_lsp/handlers.py: most-fixed (1 issue). Treat as high-risk during review.
2 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Auth Bypass: LSP REST and WebSocket endpoints failed to enforce proper Jupyter Server authentication and authorization, allowing unauthorized remote attackers to interact with the LSP server. Developers must ensure that custom handlers invoke the necessary authentication hooks before handing off connection management to base handlers.
Path Traversal: Improper resolution of the virtual documents directory allowed configuration paths (such as empty or dot-valued directory strings) to resolve to the root directory, risking arbitrary filesystem access or data loss. Future path handling must strictly validate that the resolved path does not overlap or escape intended boundaries.