CVE-2026-122235 | BDVDB-2026-400435 Detail
janhqjan
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.
Impact#
Per CVSS v3.1: confidentiality impact none, integrity impact high, availability impact none. Attack vector: local.
Weaknesses#
- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References#
- https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842
- https://github.com/janhq/jan/pull/9424
- https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65
- https://github.com/janhq/jan/releases/tag/v0.8.8
- https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.
- Version 2Most recent update recorded in the CVE List.