{"id":"CVE-2026-111045","state":"PUBLISHED","title":"CLI Bridge: High-severity sandbox escape via dangling symlink","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.","publishedAt":"2026-10-19T15:42:24.691Z","updatedAt":"2026-10-19T17:13:27.831Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["anshupriyan cli-bridge"],"affected":[{"vendor":"anshupriyan","product":"cli-bridge","versions":[{"version":"< 0.0.2","status":"affected"}]}],"references":["https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r","https://github.com/anshupriyan/cli-bridge/pull/3","https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38","https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2"],"weaknesses":["CWE-59"],"ingestedAt":"2026-10-29T20:10:33.477Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/111xxx/CVE-2026-111045.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-111045","state":"PUBLISHED","datePublished":"2026-10-19T15:42:24.691Z","dateUpdated":"2026-10-19T17:13:27.831Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-10-15T12:47:13.663Z"},"containers":{"cna":{"title":"CLI Bridge: High-severity sandbox escape via dangling symlink","descriptions":[{"lang":"en","value":"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":[{"vendor":"anshupriyan","product":"cli-bridge","versions":[{"version":"< 0.0.2","status":"affected"}]}],"references":[{"url":"https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r","name":"https://github.com/anshupriyan/cli-bridge/security/advisories/GHSA-8jc4-x8v7-2q9r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/anshupriyan/cli-bridge/pull/3","name":"https://github.com/anshupriyan/cli-bridge/pull/3","tags":["x_refsource_MISC"]},{"url":"https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38","name":"https://github.com/anshupriyan/cli-bridge/commit/284a84c5ac4db8dd0e1bc9db81bd15bdc83fcb38","tags":["x_refsource_MISC"]},{"url":"https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2","name":"https://github.com/anshupriyan/cli-bridge/releases/tag/v0.0.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-19T15:42:24.691Z"},"source":{"advisory":"GHSA-8jc4-x8v7-2q9r","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-19T17:12:44.821188Z","id":"CVE-2026-111045","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-19T17:13:27.831Z"}}]}}}