{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.8.4"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5f30aee467f08941964a83f946e2663e7ae0e01f"
            },
            {
              "fixed": "3e1c1e724f696620d89bb4a9cc18a380e0753757"
            }
          ],
          "repo": "https://github.com/janhq/jan",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-183",
      "CWE-942"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66005.json"
  },
  "details": "Jan through 0.8.4, fixed in commit 3e1c1e7, contains a CORS misconfiguration vulnerability in its local API server that allows network-adjacent attackers to bypass trusted host restrictions by exploiting the server's replacement of user-configured trusted hosts with a wildcard that reflects arbitrary origins with credentials. Attackers on the local network or using DNS rebinding can reach the unauthenticated OpenAI-compatible API to perform inference, enumerate models, invoke MCP tools, and read cross-origin responses.",
  "id": "CVE-2026-66005",
  "modified": "2026-07-27T03:56:27.461441807Z",
  "published": "2026-07-24T14:57:33.054Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/66xxx/CVE-2026-66005.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-66005"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/jan-local-api-server-cors-origin-reflection-via-binding"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/janhq/jan/issues/8453"
    },
    {
      "type": "FIX",
      "url": "https://github.com/janhq/jan/commit/3e1c1e724f696620d89bb4a9cc18a380e0753757"
    },
    {
      "type": "FIX",
      "url": "https://github.com/janhq/jan/pull/8506"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/janhq/jan"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Jan Local API Server CORS Origin Reflection via 0.0.0.0 Binding"
}