Anshupriyan cli-bridge
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-59
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
anshupriyan cli-bridge
- < 0.0.2
Fixed in 0.0.2
Mitigation
Upgrade cli-bridge to 0.0.2 or later.
References
- Vendor advisory github.com/anshupriyan/cli-bridge/security/adv…
- Patch github.com/anshupriyan/cli-bridge/pull/3
- Patch github.com/anshupriyan/cli-bridge/commit/284a8…
1 more
- Release notes github.com/anshupriyan/cli-bridge/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.