Skip to content
MediumVulnerabilityLLM-specific

CVE-2026-122235: Jan workspace guard bypass allows file writes outside workspace via symlinks

Identifier
CVE-2026-122235
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.

Summary

Jan, from version 0.8.5 before 0.8.8, contains a workspace guard bypass in the agent-tools gate.rs file. Attackers who supply a malicious repository can use prompt injection to make the write or edit tools follow dangling symlinks, letting them create files outside the workspace, such as ~/.ssh/authorized_keys on the host.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.