{
  "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-3788-7276-x4j4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48765.json"
  },
  "details": "TypeBot is a chatbot builder tool. Versions prior to 3.17.0 allow a low-privilege read collaborator to extract a workspace OAuth `credentialsId` from a readable bot configuration and then overwrite that credential through `handleUpdateOAuthCredentials()` by supplying an attacker-controlled writable `workspaceId`. The update path validates only the attacker-supplied workspace and then updates the credential record by global `id` alone, while also rewriting the credential's `workspaceId`. This allows cross-workspace OAuth credential takeover and reassignment. Version 3.17.0 patches the issue.",
  "id": "CVE-2026-48765",
  "modified": "2026-08-14T03:51:51.194783059Z",
  "published": "2026-08-11T20:37:48.115Z",
  "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-48765.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/baptisteArno/typebot.io/security/advisories/GHSA-3788-7276-x4j4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48765"
    },
    {
      "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:C/C:H/I:H/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "TypeBot vulnerable to cross-workspace OAuth credential takeover in updateOAuthCredentials via missing object binding"
}