{"id":"CVE-2026-122235","title":"Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink","summary":"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 p…","severity":"medium","cvss":4.7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","cvssSource":"cna","cwe":["CWE-59"],"vendor":"janhq","product":"jan","affected":["jan >= 0.8.5 < 0.8.8"],"published":"2026-11-04","updated":"2026-11-04","sourceUpdated":"2026-11-04T21:06:42.684Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-122235","references":[{"url":"https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842","label":"GitHub Security Advisory (GHSA-7j4g-mj5j-p842)"},{"url":"https://github.com/janhq/jan/pull/9424"},{"url":"https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65"},{"url":"https://github.com/janhq/jan/releases/tag/v0.8.8","label":"jan v0.8.8 Release Notes"},{"url":"https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink","label":"VulnCheck Advisory: Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink"}],"tags":["cve.org"],"ingestedAt":"2026-11-05T21:36:00.591Z","epss":0.0017,"epssPercentile":0.0641,"slug":"CVE-2026-122235","body":"## Overview\n\nJan 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.\n\n## Affected\n\n- `jan >= 0.8.5 < 0.8.8`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":26,"depthScoreParts":{"impact":25.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}