A plain-language summary of this CVE is being written; the description below is the NVD's own text.
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.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd…
- github.com /anshupriyan/cli-bridge/pull/3
- github.com /anshupriyan/cli-bridge/releases/tag/v0.0.2
- github.com /anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning