Medium, CVSS 6.2GoPublished
Entire CLI: Path traversal in checkpoint session metadata allows arbitrary file write during resume/rewind
GHSA-2h46-9x5w-4wf7
- Affected
- Go github.com/entireio/cli <= 0.7.6
- Fixed in
- 0.7.7· Vendor fix available
- Issue
- Impact A path traversal vulnerability in Entire CLI allows an attacker with push access to the checkpoints repository to craft malicious checkpoint metadata that causes entire session resume or entire checkpoint rewind to write attacker-controlled transcript data outside of the expected session directory. The issue occurs because checkpoint metadata is fetched from the remote entire/checkpoints/v1 branch and the SessionID field was used to construct filesystem paths without validation in the restore path. A malicious SessionID containing absolute paths or path traversal sequences could cause arbitrary files on the victim’s machine to be overwritten. Patches The patched versions (v0.7.7 or v0.7.8-nightly.) observe stronger input validation and enforce traversal-resistant primitives to ensure that only descending directories can be accessed by the affected commands. Workarounds If upgrading immediately is not possible: - Do not run entire session resume or entire checkpoint rewind on…
Recommended action: Upgrade to 0.7.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.