YOU ARE VIEWING ONE ITEM FROM THE AICRIER FEED

GitHub Copilot CLI patches git hook sandbox escape

AICrier tracks AI developer news across Product Hunt, GitHub, Hacker News, YouTube, X, arXiv, and more. This page keeps the article you opened front and center while giving you a path into the live feed.

// WHAT AICRIER DOES

7+

TRACKED FEEDS

24/7

SCRAPED FEED

Short summaries, external links, screenshots, relevance scoring, tags, and featured picks for AI builders.

GitHub Copilot CLI patches git hook sandbox escape
OPEN LINK ↗
// 3h agoSECURITY INCIDENT

GitHub Copilot CLI patches git hook sandbox escape

GitHub Copilot CLI 1.0.118 closes a sandbox bypass in 1.0.117 that let agents write to .git/hooks and .git/config when repositories were granted write access via readwritePaths with automatic working-directory access disabled. Because upgrading does not remove files planted before the fix, developers who used that configuration need to manually audit .git/hooks and git config for persistent payloads.

// ANALYSIS

A coding-agent sandbox is only as strong as the delayed-execution surfaces it leaves writable—blocking direct writes outside a repo means little if an agent can schedule code to run on your next unsandboxed git commit.

  • –Bypass mechanics: Researcher Om Londhe reproduced a 12-for-12 Linux sandbox escape on 1.0.117 under readwritePaths with addCurrentWorkingDirectory set to false, succeeding via .git/hooks/pre-commit, core.hooksPath, and core.fsmonitor using both shell commands and Copilot's built-in edit tool; 1.0.118 blocked all 12 attempts.
  • –Narrower blast radius, lingering risk: Default setups with automatic working-directory access enabled were already protected in 1.0.117, but any repository used with custom readwritePaths stays exposed until scrubbed via ls .git/hooks and git config --list --show-origin.
  • –New-file edge cases remain: Even on 1.0.118, agents can still create brand-new .github/hooks/ or .github/copilot/settings.json files when none exist yet—Copilot executes those hooks inside the sandbox during sandboxed sessions, but they still warrant close diff review if you ever run unsandboxed.
  • –Recurring agent threat surface: Git metadata keeps emerging as an execution vector for autonomous CLI agents (following CVE-2026-45033 for bare-repo config execution patched in v1.0.43), reinforcing that hooks, git config, and repo-level agent settings belong firmly inside the security boundary.
// TAGS
github-copilot-clisecuritycliai-codingcoding-agentagentdevtool

DISCOVERED

3h ago

2026-12-01

PUBLISHED

3h ago

2026-12-01

RELEVANCE

9/ 10

AUTHOR

SharmaKarma1028