Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15b
- https://github.com/anshupriyan/cli-bridge/pull/3
- https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2
- https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9
FAQ
What is CVE-2026-111045?
CVE-2026-111045 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2026-111045?
CVE-2026-111045 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-111045?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.