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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-59"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111045.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.0.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.0.2",
"range": [
{
"fixed": "b8bcc7a39cb175234cc6545a2553d8bc0519cb24"
}
],
"source": "REFERENCES_TAG"
}
]
}