{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.6.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "67209ec7ffb53a918ffb952f9f68b9cb68f786ad"
            }
          ],
          "repo": "https://github.com/onyx-dot-app/onyx",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-522"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85700.json"
  },
  "details": "Onyx 4.6.6 fails to properly restrict access to custom tool credentials stored in custom_headers, allowing any authenticated user to read admin-defined API keys. Attackers with basic authentication can call GET /tool/{tool_id} or GET /tool endpoints to retrieve plaintext authorization headers and third-party API credentials, then use them to directly access upstream APIs.",
  "id": "CVE-2026-85700",
  "modified": "2026-09-06T03:31:02.686896675Z",
  "published": "2026-09-04T14:32:42.042Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85700.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85700"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/onyx-4.6.6-custom-tool-secret-header-disclosure-via-tool-endpoints"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/onyx-dot-app/onyx/issues/13165"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/onyx-dot-app/onyx"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/onyx-dot-app/onyx/blob/v4.6.6/backend/onyx/server/features/tool/api.py"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/onyx-dot-app/onyx/blob/v4.6.6/backend/onyx/server/features/tool/models.py"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Onyx 4.6.6 Custom Tool Secret Header Disclosure via Tool Endpoints"
}