← CVE Intelligence

CVE-2026-111045

CLI Bridge: High-severity sandbox escape via dangling symlink PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
anshupriyan / cli-bridgeaffected < 0.0.2

CWE

CWE-59

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.