CVE-2026-122235Published Nov 4, 2026 · Nov 4Updated 6d ago
Jan arbitrary file write via symlinks in agent tools
janhq jan
Medium5.7Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| janhq jan |
| No fix yet |
Original 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.
From the CVE record · VulnCheck