AI Stack Alert Medium CVE-2026-122235 For AI Eng, AppSec, SOC / IR, CISO AI-assisted
Jan 0.8.5–0.8.8: workspace guard bypass via dangling symlinks (CVE-2026-122235)
Jan versions from 0.8.5 before 0.8.8 have a workspace guard bypass in the agent-tools gate.rs component. The write and edit tools can follow dangling symlinks and create files outside the workspace. The source says a malicious repository combined with prompt injection can trigger this, for example by creating ~/.ssh/authorized_keys on the host.
Why it matters
Users who open untrusted repositories with Jan's agent tools may have files written outside their workspace on the host. Writing to paths such as ~/.ssh/authorized_keys could give an attacker persistent access to the user account.
Do this
- Upgrade Jan to version 0.8.8 or later on all endpoints where it is installed.
- Until upgraded, do not use Jan's agent write or edit tools on untrusted or unfamiliar repositories.
- Hunt for dangling symlinks inside Jan workspaces that point outside the workspace, especially to ~/.ssh or other user config paths.
- Review ~/.ssh/authorized_keys and other sensitive user files on affected hosts for unexpected entries or recent modification times.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.17%
Signals
- NoCISA KEV
- 5.7CVSS
- 0.17%EPSS
- NoPublic PoC
- 24/100Priority
- 60%Confidence
Evidence
“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.”
Sources
Affected / related
Jan, symlink following (dangling symlink workspace escape), prompt injection
Published 2026-11-04 21:18 UTC · updated 2026-11-08 02:29 UTC · AI-assisted summary, checked against quoted sources · How we score