Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
5.7
CVE-2026-122235: Jan 0.8.5‑0.8.7 can let attackers write files outside workspace
CVE-2026-122235 · published today
Summary
Versions 0.8.5 through 0.8.7 of Jan allow a specially crafted repository to trick the tool into creating or modifying files anywhere on the host system, such as the SSH authorized_keys file. This could give an attacker persistent access to the machine. Upgrade Jan to version 0.8.8 or later to close the gap.
What to do
- Update janhq jan to version 0.8.8 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| janhq | jan | < 0.8.8 |
Original advisory text
Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink
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.
References
- https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65 patch
- https://github.com/janhq/jan/pull/9424 patch issue-tracking
- https://github.com/janhq/jan/releases/tag/v0.8.8 release-notes
- https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842 vendor-advisory
- https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypa... third-party-advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit (estimated)
- Gives an attacker partial control (estimated)
Type
CWE-59Link Following
Timeline
Published4 Nov 2026
Updated4 Nov 2026
First seen4 Nov 2026
Track software like this
Free during beta