{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.17.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7ae4c007d0987d2ca907b47e1b7418db62b8a157"
            },
            {
              "fixed": "31c360a342e40d1423e5421c046e8f821b1154c4"
            }
          ],
          "repo": "https://github.com/baptistearno/typebot.io",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gc3v-9whw-6wjh"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-200"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48766.json"
  },
  "details": "TypeBot is a chatbot builder tool. Versions prior to 3.17.0 allow a low-privilege guest member of a workspace to exfiltrate stored OpenAI-compatible API keys by invoking the OpenAI model-listing helper with an attacker-controlled `baseUrl`. The vulnerable path decrypts the selected workspace credential, creates an OpenAI client with the secret in both `apiKey` and the explicit `api-key` header, and then sends the outbound request to the caller-supplied URL. Because the permission check accepts any readable workspace member and `listCredentials` reveals credential identifiers to guests, a guest can force the server to deliver the workspace secret to attacker infrastructure. Version 3.17.0 patches the issue.",
  "id": "CVE-2026-48766",
  "modified": "2026-08-14T03:51:59.872928035Z",
  "published": "2026-08-11T15:55:20.865Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/baptisteArno/typebot.io/releases/tag/v3.17.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48766.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-gc3v-9whw-6wjh"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48766"
    },
    {
      "type": "FIX",
      "url": "https://github.com/baptisteArno/typebot.io/commit/7ae4c007d0987d2ca907b47e1b7418db62b8a157"
    },
    {
      "type": "FIX",
      "url": "https://github.com/baptisteArno/typebot.io/pull/2459"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TypeBot vulnerable to OpenAI API key exfiltration in listModels via attacker-controlled baseUrl"
}