CVE-2026-111045 PUBLISHED

CLI Bridge: High-severity sandbox escape via dangling symlink

Assigner: GitHub_M
Reserved: 15.10.2026 Published: 19.10.2026 Updated: 19.10.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS Score: 7.5

Product Status

Vendor anshupriyan
Product cli-bridge
Versions
  • Version < 0.0.2 is affected

References

Problem Types

  • CWE-59: Improper Link Resolution Before File Access ('Link Following') CWE