{"id":"CVE-2026-122235","summary":"Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink","details":"Jan from 0.8.5 before 0.8.8 contains a workspace guard bypass vulnerability in the agent-tools gate.rs that allows attackers to write files outside the workspace via dangling symlinks. Attackers supplying a malicious repository can use prompt injection to make the write or edit tools follow symlinks, creating files like ~/.ssh/authorized_keys on the host.","aliases":["GHSA-7j4g-mj5j-p842"],"modified":"2026-11-14T02:30:34.510860409Z","published":"2026-11-04T21:06:42.684Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-59"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122235.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122235.json"},{"type":"ADVISORY","url":"https://github.com/janhq/jan/releases/tag/v0.8.8"},{"type":"ADVISORY","url":"https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122235"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink"},{"type":"FIX","url":"https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65"},{"type":"FIX","url":"https://github.com/janhq/jan/pull/9424"},{"type":"PACKAGE","url":"https://github.com/janhq/jan"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/janhq/jan","events":[{"introduced":"79932ec4f4d2d6e765186b9f0e993f96ae10f16e"},{"fixed":"a7752d5be16fc5d92df7809def274ffd2b27db07"},{"fixed":"840c33e65182ba9975d32f710c5d111e25444b65"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0.8.5"},{"fixed":"0.8.8"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"840c33e65182ba9975d32f710c5d111e25444b65"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"v0.8.8","range":[{"fixed":"a7752d5be16fc5d92df7809def274ffd2b27db07"}]}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-122235.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}