Vulnerability · Published Oct 19, 2026 · Assigned by GitHub_M
CVE-2026-111045CLI Bridge: High-severity sandbox escape via dangling symlink
High 7.5
In plain English
A high-severity security flaw in cli-bridge from anshupriyan. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| anshupriyan | cli-bridge | < 0.0.2 |
Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r x_refsource_CONFIRM
- https://github.com/anshupriyan/cli-bridge/pull/3 x_refsource_MISC
- https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38 x_refsource_MISC
- https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2 x_refsource_MISC