{"id":"CVE-2026-122235","state":"PUBLISHED","title":"Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink","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.","publishedAt":"2026-11-04T21:06:42.684Z","updatedAt":"2026-11-09T16:57:40.843Z","severity":{"score":5.7,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["janhq jan"],"affected":[{"vendor":"janhq","product":"jan","packageURL":"pkg:github/janhq/jan","defaultStatus":"unaffected","versions":[{"version":"0.8.5","status":"affected","lessThan":"0.8.8","versionType":"semver"}],"repo":"https://github.com/janhq/jan"}],"references":["https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842","https://github.com/janhq/jan/pull/9424","https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65","https://github.com/janhq/jan/releases/tag/v0.8.8","https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink"],"weaknesses":["CWE-59"],"ingestedAt":"2026-11-09T17:06:05.864Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/122xxx/CVE-2026-122235.json","commit":"10f592c6e61fd45e286834626eda68a555393fed","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-122235","state":"PUBLISHED","datePublished":"2026-11-04T21:06:42.684Z","dateUpdated":"2026-11-09T16:57:40.843Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-04T20:51:11.221Z"},"containers":{"cna":{"title":"Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"janhq","product":"jan","packageURL":"pkg:github/janhq/jan","defaultStatus":"unaffected","versions":[{"version":"0.8.5","status":"affected","lessThan":"0.8.8","versionType":"semver"}],"repo":"https://github.com/janhq/jan"}],"references":[{"url":"https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-7j4g-mj5j-p842)"},{"url":"https://github.com/janhq/jan/pull/9424","tags":["patch","issue-tracking"]},{"url":"https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65","tags":["patch"]},{"url":"https://github.com/janhq/jan/releases/tag/v0.8.8","tags":["release-notes"],"name":"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","name":"VulnCheck Advisory: Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.7,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-59","lang":"en","description":"Improper Link Resolution Before File Access ('Link Following')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-04T21:06:42.684Z"},"datePublic":"2026-10-29T10:44:47.000Z","credits":[{"lang":"en","value":"Zachariah Mithani (AploSec)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T16:09:38.690510Z","id":"CVE-2026-122235","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T16:57:40.843Z"}}]}}}