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
VendorProductAffected 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.
Fix within
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)
Severity
5.7 Medium
Type
CWE-59Link Following
Timeline
Published4 Nov 2026
Updated4 Nov 2026
First seen4 Nov 2026
Sources
CVE-2026-122235 · MITRE
Track software like this
Free during beta