AploSec / Disclosures / CVE-2026-122235

Medium 5.7Fix mergedFixed in 0.8.8CWE-59Desktop

Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink

CVE-2026-122235 · published 2026-11-04

In plain words: this type of bug lets someone read or write files outside the folder they should be limited to (path traversal). A fixed release is listed.

Summary

CVE-2026-122235 affects jan (Desktop) >= 0.8.5, < 0.8.8: Agent write tool follows a dangling symlink out of the workspace (CWE-59). Fixed in 0.8.8. CVSS 4.0 base score 5.7 (Medium), assigned by VulnCheck. Published 2026-11-04 by VulnCheck. Credit: Zachariah Mithani.

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.

Evidence

The maintainer accepted the patch submitted with the report and merged the fix.

Remediation

Upgrade jan to 0.8.8 or later. Releases in the affected range (>= 0.8.5, < 0.8.8) are vulnerable. See the linked advisory for details on affected release lines.

Timeline

  • 2026-11-04 CVE published
  • 2026-11-11 Public record last updated

References

Severity
Medium 5.7CVSS 4.0, scored by VulnCheck in the CVE record
Package
jan
Ecosystem
Desktop
Affected
>= 0.8.5, < 0.8.8
Fixed
0.8.8
Weakness
CWE-59
CNA
VulnCheck
Credit
Zachariah Mithanifinder