{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:continue:continue:*:*:*:*:*:visual_studio_code:*:*",
            "extracted_events": [
              {
                "introduced": "1.2.0"
              },
              {
                "last_affected": "1.2.22"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "c75c082289505c7ac5bb347d2c12ae64fc6be19e"
            },
            {
              "last_affected": "5607a67ae46e2e1edcf54c44fca81ea75c27b372"
            }
          ],
          "repo": "https://github.com/continuedev/continue",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulDB",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8770.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "introduced": "1.2.0"
          },
          {
            "last_affected": "1.2.0"
          },
          {
            "introduced": "1.2.1"
          },
          {
            "last_affected": "1.2.1"
          },
          {
            "introduced": "1.2.2"
          },
          {
            "last_affected": "1.2.2"
          },
          {
            "introduced": "1.2.3"
          },
          {
            "last_affected": "1.2.3"
          },
          {
            "introduced": "1.2.4"
          },
          {
            "last_affected": "1.2.4"
          },
          {
            "introduced": "1.2.5"
          },
          {
            "last_affected": "1.2.5"
          },
          {
            "introduced": "1.2.6"
          },
          {
            "last_affected": "1.2.6"
          },
          {
            "introduced": "1.2.7"
          },
          {
            "last_affected": "1.2.7"
          },
          {
            "introduced": "1.2.8"
          },
          {
            "last_affected": "1.2.8"
          },
          {
            "introduced": "1.2.9"
          },
          {
            "last_affected": "1.2.9"
          },
          {
            "introduced": "1.2.10"
          },
          {
            "last_affected": "1.2.10"
          },
          {
            "introduced": "1.2.11"
          },
          {
            "last_affected": "1.2.11"
          },
          {
            "introduced": "1.2.12"
          },
          {
            "last_affected": "1.2.12"
          },
          {
            "introduced": "1.2.13"
          },
          {
            "last_affected": "1.2.13"
          },
          {
            "introduced": "1.2.14"
          },
          {
            "last_affected": "1.2.14"
          },
          {
            "introduced": "1.2.15"
          },
          {
            "last_affected": "1.2.15"
          },
          {
            "introduced": "1.2.16"
          },
          {
            "last_affected": "1.2.16"
          },
          {
            "introduced": "1.2.17"
          },
          {
            "last_affected": "1.2.17"
          },
          {
            "introduced": "1.2.18"
          },
          {
            "last_affected": "1.2.18"
          },
          {
            "introduced": "1.2.19"
          },
          {
            "last_affected": "1.2.19"
          },
          {
            "introduced": "1.2.20"
          },
          {
            "last_affected": "1.2.20"
          },
          {
            "introduced": "1.2.21"
          },
          {
            "last_affected": "1.2.21"
          },
          {
            "introduced": "1.2.22"
          },
          {
            "last_affected": "1.2.22"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "A vulnerability was identified in continuedev continue up to 1.2.22. This affects the function lsTool of the file core/tools/implementations/lsTool.ts of the component JSON-RPC Server. Such manipulation of the argument dirPath leads to path traversal. An attack has to be approached locally. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.",
  "id": "CVE-2026-8770",
  "modified": "2026-07-15T01:49:13.849354556Z",
  "published": "2026-05-17T23:15:15.257Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8770.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-8770"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/submit/811428"
    },
    {
      "type": "ADVISORY",
      "url": "https://vuldb.com/vuln/364395"
    },
    {
      "type": "REPORT",
      "url": "https://vuldb.com/vuln/364395/cti"
    },
    {
      "type": "EVIDENCE",
      "url": "https://gist.github.com/YLChen-007/da04e032993a4b2324df915f9ecf9831"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P",
      "type": "CVSS_V4"
    }
  ],
  "summary": "continuedev continue JSON-RPC Server lsTool.ts lsTool path traversal"
}