CVE-2026-122235
Jan from 0.8.5 before 0.8.8 contains a workspace guard bypass …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65
- github.com/janhq/jan/pull/9424
- github.com/janhq/jan/releases/tag/v0.8.8
- github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842
- www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-sy
- nvd.nist.gov/vuln/detail/CVE-2026-122235
- cve.org/CVERecord?id=CVE-2026-122235
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.