CVE-2026-122235
published medium CVSS 4.0 · 5.7Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| janhq | — | jan0.8.5 to < 0.8.8 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.7 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| janhq | jan | 0.8.5 to < 0.8.8 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-59 Improper Link Resolution Before File Access ('Link Following')
References
5- https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65
- https://github.com/janhq/jan/pull/9424
- jan v0.8.8 Release Notes https://github.com/janhq/jan/releases/tag/v0.8.8
- GitHub Security Advisory (GHSA-7j4g-mj5j-p842) https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842
- VulnCheck Advisory: Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink
Provider assertions
2VulnCheck · cna
Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c279351910e68791824e691ce40a462ba0eb4acc194b108f660daa52e03cd5b1
- Ingested
- 09 Nov 2026, 17:03:08 UTC
- Source record
- Official CVE record