Skip to content

v1.0.1

Choose a tag to compare

@sonirico sonirico released this 13 Sep 09:39
· 6 commits to master since this release

Bug Fixes

Closes the critical advisory GHSA-c598-5pxh-5vq3. With writes_enabled: true, a client could plant a repo-local git content-filter driver via write_file (.git/config plus .gitattributes) and trigger it through the read-only git_diff, gaining arbitrary command execution as the server user and escaping working_directory.

Every mutating filesystem tool now routes through resolveForWrite, which refuses any path with a .git segment or a .gitattributes basename at any depth. git's control surface is the server's to own, not the client's.