{"id":"GHSA-2h46-9x5w-4wf7","revision":"7d37a0154850469fa6fc138f5f1f6713","records":[{"revision":"7d37a0154850469fa6fc138f5f1f6713","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2h46-9x5w-4wf7","aliases":["CVE-2026-57208","GO-2026-5063"],"title":"Entire CLI: Path traversal in checkpoint session metadata allows arbitrary file write during resume/rewind","description":"### Impact\n\nA 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.\n\nThe 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.\n\n### Patches\n\nThe 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. \n\n### Workarounds\nIf upgrading immediately is not possible:\n\n- Do not run `entire session resume` or `entire checkpoint rewind` on repositories where untrusted users can push to `entire/checkpoints/v1`.\n- Restrict push access to shared repositories until all collaborators have upgraded.\n- Inspect the `entire/checkpoints/v1` branch for suspicious checkpoint metadata before resuming or rewinding.\n- Remove or protect shell initialization files and other sensitive user-writable files where feasible.\n\nThese mitigations reduce exposure but do not fully address the vulnerability. Upgrading is recommended.\n\n### Credits\nThanks Navtej Kathuria for privately reporting this issue to the Entire Security team.","state":0,"publishedAt":"2026-06-19T15:00:01+00:00","modifiedAt":"2026-10-24T02:55:48.5867609+00:00","affected":[{"ecosystem":"Go","name":"github.com/entireio/cli","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:H/SA:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/entireio/cli/security/advisories/GHSA-2h46-9x5w-4wf7","https://github.com/entireio/cli/pull/1365","https://github.com/entireio/cli/pull/1449","https://github.com/entireio/cli"],"sourceUrl":"https://github.com/advisories/GHSA-2h46-9x5w-4wf7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2h46-9x5w-4wf7","identifiers":["GHSA-2h46-9x5w-4wf7","CVE-2026-57208","GO-2026-5063"]},"retained":false,"historicalAffected":[]}],"coverage":[]}