{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:hkuds:deepcode:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.2.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ca2c068ec9f4b0b5fe8c2cbd7b7f73090f5058bc"
            }
          ],
          "repo": "https://github.com/hkuds/deepcode",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32847.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "last_affected": "c991dc22e67958a031f2e20595128a6a5fbd8f3d"
          }
        ],
        "source": "AFFECTED_FIELD"
      }
    ]
  },
  "details": "DeepCode through commit c991dc2 contains a path traversal vulnerability in the SPA catch-all route in new_ui/backend/main.py that allows unauthenticated attackers to read arbitrary files by supplying percent-encoded path segments to the GET /{full_path:path} endpoint. Attackers can bypass Starlette's path normalization by encoding slashes as %2F and dots as %2E%2E, causing the joined path to traverse outside FRONTEND_DIST and exposing sensitive files such as SSH private keys, TLS certificates, and application secrets with a single HTTP request.",
  "id": "CVE-2026-32847",
  "modified": "2026-07-08T05:37:47.319515095Z",
  "published": "2026-05-28T19:32:13.224Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32847.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-32847"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/deepcode-path-traversal-via-spa-catch-all-route-in-main-py"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/HKUDS/DeepCode/issues/126"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/HKUDS/DeepCode"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DeepCode 1.2.0 Path Traversal via SPA Catch-All Route in main.py"
}