# CVE-2026-122235: Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink

Source: https://aplosec.si/cve/CVE-2026-122235/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-122235

Medium 5.7 · Fix merged · Fixed in 0.8.8 · CWE-59 · Desktop

# 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

- [VulnCheck advisoryhttps://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink](https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink)

- [Referencehttps://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842](https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842)

- [Releasehttps://github.com/janhq/jan/releases/tag/v0.8.8](https://github.com/janhq/jan/releases/tag/v0.8.8)

- [Fix pull requesthttps://github.com/janhq/jan/pull/9424](https://github.com/janhq/jan/pull/9424)

- [Fix commithttps://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65](https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-122235](https://www.cve.org/CVERecord?id=CVE-2026-122235)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-122235](https://nvd.nist.gov/vuln/detail/CVE-2026-122235)

**Severity:** Medium 5.7 CVSS 4.0, scored by VulnCheck in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-122235)

**Package:** jan

**Ecosystem:** Desktop

**Affected:** >= 0.8.5, < 0.8.8

**Fixed:** 0.8.8

**Weakness:** CWE-59

**CNA:** VulnCheck

**Credit:** Zachariah Mithani finder
