{"id":"CVE-2026-122235","published":"2026-11-04T21:18:11.103","lastModified":"2026-11-04T21:18:11.103","description":"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.","cvssScore":4.7,"cvssSeverity":"MEDIUM","cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","cwes":["CWE-59"],"vendors":[],"products":[],"references":[{"url":"https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65","tags":[]},{"url":"https://github.com/janhq/jan/pull/9424","tags":[]},{"url":"https://github.com/janhq/jan/releases/tag/v0.8.8","tags":[]},{"url":"https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842","tags":[]},{"url":"https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink","tags":[]}],"exploitRefs":[{"url":"https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65","tags":[]},{"url":"https://github.com/janhq/jan/pull/9424","tags":[]},{"url":"https://github.com/janhq/jan/releases/tag/v0.8.8","tags":[]},{"url":"https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842","tags":[]}],"hasPoc":true,"ai":null}