Highlights
Auth Bypass: 17 prior fixes. Scrutinize any change in this area.
src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts: most-fixed (7 issues). Treat as high-risk during review.
8 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: The extension frequently bypassed critical workspace trust checks when performing git, session, and change operations, allowing unauthorized background actions on untrusted directories. Multiple fixes restricted active repositories, changes, and sessions to validated workspace folders.
Path Traversal: Tool execution routines and file operations could be coerced to traverse outside of the workspace directory. Robust path canonicalization and prefix verification are required to ensure tools operate strictly within trusted limits. CVE-2025-66389 specifically notes a high-severity path traversal via web fetch parameters.
Auth Bypass: Flaws in hook logic (such as in collapsePreToolUseHookResults) and missing schema validation allowed tools to execute despite pre-use restrictions or error conditions, bypassing the security boundaries expected for local LLM tools.