CVE-2026-111045 Details
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.
A vulnerability in CLI Bridge versions prior to 0.0.2 allows arbitrary file writing outside the designated workspace root. This issue arises from a dangling symlink that bypasses the 'resolveSafePath' function. When 'fs.realpathSync' encounters a non-existent target, it returns the parent directory, mistakenly deeming the symlink path as safe. Consequently, file operations can follow the symlink and write files outside the intended directory.
Users are advised to upgrade to CLI Bridge version 0.0.2 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 19, 2026CISA-ADP
Assessed Oct 19, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38 | [email protected] | Source CodeVendor |
| https://github.com/anshupriyan/cli-bridge/pull/3 | [email protected] | Issue TrackingVendor |
| https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2 | [email protected] | Release NotesVendor |
| https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-59 | Improper Link Resolution Before File Access ('Link Following') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| priyanshu-cli-bridge | 0.0.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 19, 2026 | New CVE Received | [email protected] |
Volerion