CVE-2026-122235 Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-122235?
CVE-2026-122235 is a medium-severity vulnerability in janhq jan, published on 4 Nov 2026.
Official 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.
Weakness: CWE-59
Which versions are affected by CVE-2026-122235?
How do I fix CVE-2026-122235?
No fix has been published for CVE-2026-122235 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-122235 being exploited?
There is no known exploitation of CVE-2026-122235 in the wild and no public exploit code.
Sources
Also known as GHSA-7j4g-mj5j-p842, GHSA-pjpc-p955-xv4f.