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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-59"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122235.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0.8.5"
},
{
"fixed": "0.8.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "840c33e65182ba9975d32f710c5d111e25444b65"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.8.8",
"range": [
{
"fixed": "a7752d5be16fc5d92df7809def274ffd2b27db07"
}
],
"source": "REFERENCES_TAG"
}
]
}