{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "79932ec4f4d2d6e765186b9f0e993f96ae10f16e"
            },
            {
              "fixed": "a7752d5be16fc5d92df7809def274ffd2b27db07"
            },
            {
              "fixed": "840c33e65182ba9975d32f710c5d111e25444b65"
            }
          ],
          "repo": "https://github.com/janhq/jan",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-7j4g-mj5j-p842"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-59"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122235.json"
  },
  "details": "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.",
  "id": "CVE-2026-122235",
  "modified": "2026-11-14T02:30:34.510860409Z",
  "published": "2026-11-04T21:06:42.684Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/122xxx/CVE-2026-122235.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/janhq/jan/releases/tag/v0.8.8"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/janhq/jan/security/advisories/GHSA-7j4g-mj5j-p842"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-122235"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/jan-0.8.5-before-0.8.8-workspace-guard-bypass-via-dangling-symlink"
    },
    {
      "type": "FIX",
      "url": "https://github.com/janhq/jan/commit/840c33e65182ba9975d32f710c5d111e25444b65"
    },
    {
      "type": "FIX",
      "url": "https://github.com/janhq/jan/pull/9424"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/janhq/jan"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Jan 0.8.5 before 0.8.8 Workspace Guard Bypass via Dangling Symlink"
}