Skip to content

CVE-2026-122235 Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink

MediumCVSS 5.7 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
janhq/jan >= 0.8.5, < 0.8.8 0.8.8 Fixed

Affected products

ProductAffected versionsFixed in
janhq/jan >= 0.8.5, < 0.8.8 0.8.8

References