Description
CLI Bridge provides filesystem access within a workspace root. Prior to 0.0.2, a dangling symlink pointing outside the workspace root bypasses resolveSafePath when fs.realpathSync throws ENOENT for a nonexistent target. The fallback resolves only the parent directory and returns the symlink path as safe, so write_file follows the link and can write arbitrary files outside the workspace root. This issue is fixed in version 0.0.2.
Published: 2026-10-19
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Sandbox escape enabling arbitrary file writes outside the workspace root
Action: Apply patch
AI Analysis

Impact

CLI Bridge allows a sandbox escape when a dangling symbolic link points outside the workspace root. The resolver fails when fs.realpathSync throws ENOENT for a missing target; it then incorrectly treats the parent directory of the symlink as safe, permitting write_file to write to arbitrary filesystem paths. Based on the description, it is inferred that the vulnerability is a path‑traversal weakness (CWE‑59) that can lead to unintended modifications or creation of sensitive files beyond the sandbox.

Affected Systems

The vulnerability affects the anshupriyan:cli-bridge product. All releases prior to 0.0.2 are impacted; the fix was introduced in 0.0.2 so any deployment using an earlier version is susceptible.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, although the EPSS score is not available and it is not yet listed in the CISA KEV catalog. Based on the description, it is inferred that the likely attack vector is an attacker creating a dangling symlink within the workspace that points outside the intended sandbox. Attackers can exploit the flaw by supplying the crafted symlink path; they require access to the CLI or the ability to create files within the workspace, but no elevated privileges are needed once the symlink is accepted. Overall, the risk is high for environments where users can write input to the workspace.

Generated by OpenCVE AI on October 19, 2026 at 16:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade cli-bridge to version 0.0.2 or later to receive the fix
  • If upgrading immediately is not possible, restrict the creation of dangling symbolic links in the workspace by enforcing strict validation of file paths
  • Monitor the filesystem for unauthorized file writes or unexpected creation of symlinks outside the workspace directory

Generated by OpenCVE AI on October 19, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Anshupriyan
Anshupriyan cli-bridge
Vendors & Products Anshupriyan
Anshupriyan cli-bridge

Mon, 19 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Description CLI Bridge provides filesystem access within a workspace root. Prior to 0.0.2, a dangling symlink pointing outside the workspace root bypasses resolveSafePath when fs.realpathSync throws ENOENT for a nonexistent target. The fallback resolves only the parent directory and returns the symlink path as safe, so write_file follows the link and can write arbitrary files outside the workspace root. This issue is fixed in version 0.0.2.
Title CLI Bridge: High-severity sandbox escape via dangling symlink
Weaknesses CWE-59
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}


Subscriptions

Anshupriyan Cli-bridge
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-19T17:13:27.831Z

Reserved: 2026-10-15T12:47:13.663Z

Link: CVE-2026-111045

cve-icon Vulnrichment

Updated: 2026-10-19T17:13:21.570Z

cve-icon NVD

Status : Deferred

Published: 2026-10-19T16:17:03.183

Modified: 2026-10-19T21:14:14.150

Link: CVE-2026-111045

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T16:58:28Z

Weaknesses
  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')