CVE-2026-111045 CLI Bridge: High-severity sandbox escape via dangling symlink
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
anshupriyan
cli-bridge
영향 받는 버전
- 0.0.2 미만
해결 버전
- 0.0.2 이상
참고 자료 4건
- github.com https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38 (새 창)
- github.com https://github.com/anshupriyan/cli-bridge/pull/3 (새 창)
- github.com https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2 (새 창)
- github.com https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r (새 창)