GHSA-2h46-9x5w-4wf7: Entire CLI Path Traversal Vulnerability
MODERATEGHSA-2h46-9x5w-4wf7 is a MODERATE path traversal vulnerability (CWE-73: External Control of File Name or Path) affecting Entire CLI libraries in the Go ecosystem. The issue involves path traversal in checkpoint session metadata allows arbitrary file write during resume/rewind. Remediation is available by upgrading affected packages to version 0.7.7.
GHSA-2h46-9x5w-4wf7 at a Glance
How to Fix GHSA-2h46-9x5w-4wf7
To remediate this vulnerability, upgrade all affected Entire CLI dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/entireio/cli to 0.7.7
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/entireio/cli
How to Check if You Are Affected
To determine whether your application is affected by GHSA-2h46-9x5w-4wf7, inspect your project dependencies for Entire CLI:
inspect dependencies for github.com/entireio/cli
Analyze the terminal output to locate any version of Entire CLI in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.7.7), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In Entire CLI, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-2h46-9x5w-4wf7 Affected Entire CLI Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/entireio/cli
|
Go |
< 0.7.7
|
0.7.7
|
References
Frequently Asked Questions
What is GHSA-2h46-9x5w-4wf7?
Which Entire CLI versions are affected?
What version fixes GHSA-2h46-9x5w-4wf7?
Is github.com/entireio/cli affected?
What CWE is associated with GHSA-2h46-9x5w-4wf7?
How can I check Go dependencies for GHSA-2h46-9x5w-4wf7?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2h46-9x5w-4wf7",
"modified" : "2026-06-19T15:00:01Z",
"published" : "2026-06-19T15:00:01Z",
"aliases" : [ ],
"summary" : "Entire CLI: Path traversal in checkpoint session metadata allows arbitrary file write during resume/rewind",
"details" : "### 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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/entireio/cli"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.7.7"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.7.6"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/entireio/cli/security/advisories/GHSA-2h46-9x5w-4wf7"
}, {
"type" : "WEB",
"url" : "https://github.com/entireio/cli/pull/1365"
}, {
"type" : "WEB",
"url" : "https://github.com/entireio/cli/pull/1449"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/entireio/cli"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-73" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T15:00:01Z",
"nvd_published_at" : null
}
}