Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| janhqjan |
≥ 0.8.5, < 0.8.8→ 0.8.8 |
0.8.8 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com