CVE-2026-122235

MEDIUM CVSS 4.0: 5.7 EPSS 0.22%
Updated Nov 13, 2026
Jan
Parameter Value
CVSS 5.7 (MEDIUM)
Affected Versions before 0.8.8
Type CWE-59 (Improper Link Resolution)
Vendor Jan
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v4.0

Related Vulnerabilities