{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-122235","id":"CVE-2026-122235","title":"Jan arbitrary file write via symlinks in agent tools","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.","descriptionLong":"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.","published":"2026-11-04T21:06:42.684Z","updated":"2026-11-14T02:30:34.510860409Z","reserved":"2026-11-04T20:51:11.221Z","status":"Deferred","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":5.7,"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","rating":"medium","source":"VulnCheck"},"metrics":[{"version":"4.0","score":5.7,"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","rating":"medium","source":"VulnCheck"},{"version":"4.0","score":5.7,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"vulncheck.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"VulnCheck"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"vulncheck.com"}],"rating":"medium","products":["janhq jan"],"affectedProducts":[{"vendor":"janhq","product":"jan","defaultStatus":"unaffected","versions":[{"version":"0.8.5","lessThan":"0.8.8","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-59"],"aliases":["GHSA-7j4g-mj5j-p842"],"references":[{"url":"https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/janhq/jan/pull/9424","tags":["patch","issue-tracking","fix"]},{"url":"https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65","tags":["patch","fix"]},{"url":"https://github.com/janhq/jan/releases/tag/v0.8.8","tags":["release-notes","advisory"]},{"url":"https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122235.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122235","tags":["advisory"]},{"url":"https://github.com/janhq/jan","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0017,"epssPercentile":0.06555,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-122235","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-122235","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-122235","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-122235","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}