CVE-2026-122235 PUBLISHED

Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink

Assigner: VulnCheck
Reserved: 04.11.2026 Published: 04.11.2026 Updated: 04.11.2026

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.

Metrics

CVSS 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
CVSS Score: 5.7

Product Status

Vendor janhq
Product jan
Versions Default: unaffected
  • affected from 0.8.5 to 0.8.8 (excl.)

Credits

  • Zachariah Mithani (AploSec) finder

References

Problem Types

  • Improper Link Resolution Before File Access ('Link Following') CWE