Description
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.
Severity (CVSS)
| Base score | 5.7 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-59 — Improper Link Resolution Before File Access ('Link Following')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| janhq | jan | 0.8.5 to <0.8.8 [affected] |
References
- https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842 (vendor-advisory)
- https://github.com/janhq/jan/pull/9424 (patch issue-tracking)
- https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65 (patch)
- https://github.com/janhq/jan/releases/tag/v0.8.8 (release-notes)
- https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink (third-party-advisory)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 05 Nov 2026 08:03 UTC.