Vulnerability in Janhq Jan
CVE-2026-122235
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.
Published .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (6.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 6th percentile — 6.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
The 30-day trend appears once there are two daily scores.
Affected products
Weakness classification (CWE)
References
- github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65 (patch)
- github.com/janhq/jan/pull/9424 (issue-tracking, patch)
- github.com/janhq/jan/releases/tag/v0.8.8 (release-notes)
- github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842 (vendor-advisory)
- www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-122235?
- CVE-2026-122235 is a medium-severity vulnerability in Janhq Jan, classified under Improper Link Resolution Before File Access. CVSS score: 4.7/10. Published 2026-11-04.
- How severe is CVE-2026-122235?
- Medium severity. CVSS v3 base score is 4.7 out of 10.