{
  "schemaVersion": "guard-threat-campaign/v1",
  "id": "HGTC-2026-3AE0D4C9",
  "slug": "cve-2026-137499-budibase-builder-account-takeover-oidc-linking",
  "title": "Budibase SSO linking hands a password-less global Builder account to an unverified email (CVE-2026-137499)",
  "aliases": [
    "CVE-2026-137499",
    "GHSA-jm85-crv2-88px"
  ],
  "summary": "CVE-2026-137499 is an authentication bypass in Budibase's OIDC/SSO login, in self-hosted Budibase releases 3.41.0 to 3.41.3, fixed in 4.0.0. The 3.41.0 release added a reconcile path beside the verified-email gate an earlier fix had put on the main lookup: when a login arrives with an unverified email and unverified linking is off, the default, the new code asks an allowlist whether the matched account may be linked. The allowlist refuses accounts with a password, inactive accounts, global admins and accounts already linked to an SSO id, and it has no clause for builders or roles at all, so a password-less global Builder, the normal shape of a builder account in an SSO-enforced tenant, passes every clause. The login is then saved against the victim builder's own document and a session is issued for the victim, so an attacker holding the builder's email unverified at a trusted identity provider takes over the account and with it every app, every datasource with its production credentials, and every automation. VulnCheck rates the flaw 9.8 Critical under CVSS 3.1 and 9.3 under CVSS 4.0, as CWE-287. This page gives operators the three readings that settle exposure (version, password-less global Builders, the provider's email verification), the account hunt that follows what the reconcile stamps on a victim, the collision test to run after updating, and the interim steps that shrink the window. The CVE is not in the CISA KEV catalog read for this page, and no source read here reports attacks in the wild.",
  "status": "published",
  "severity": "critical",
  "confidence": "high",
  "uncertainty": "The verified code range rests on the GitHub advisory, which was written before the 4.0.0 release and could verify only up to 3.41.3; the fixed boundary comes from the CVE record's range. HOL did not reproduce the flaw or diff the 4.0.0 code.",
  "firstObservedAt": "2026-11-10T00:00:00.000Z",
  "lastObservedAt": "2026-11-26T00:00:00.000Z",
  "publishedAt": "2026-11-30T09:50:33.487Z",
  "reviewedAt": "2026-11-30T09:50:05.421Z",
  "expiresAt": "2026-11-26T00:00:00.000Z",
  "reviewer": "HOL Guard Security Publishing",
  "sources": [
    {
      "id": "nvd-cve-2026-137499",
      "label": "NVD record for CVE-2026-137499 (VulnCheck CNA, CVSS 3.1 9.8, CVSS 4.0 9.3, CWE-287)",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137499",
      "sourceType": "vulnerability_database",
      "observedAt": "2026-11-26T00:00:00.000Z"
    },
    {
      "id": "budibase-github-advisory-ghsa-jm85",
      "label": "Budibase GitHub security advisory GHSA-jm85-crv2-88px: unverified-email OIDC/SSO account linking takes over password-less global Builder, isAccountLinkable allowlist omits builder",
      "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-jm85-crv2-88px",
      "sourceType": "vendor_advisory",
      "observedAt": "2026-11-10T00:00:00.000Z"
    },
    {
      "id": "vulncheck-budibase-oidc-linking",
      "label": "VulnCheck advisory: Budibase 3.41.0 before 4.0.0 account takeover via unverified-email OIDC linking",
      "url": "https://www.vulncheck.com/advisories/budibase-3.41.0-before-4.0.0-account-takeover-via-unverified-email-oidc-linking",
      "sourceType": "vendor_advisory",
      "observedAt": "2026-11-26T00:00:00.000Z"
    },
    {
      "id": "cisa-kev",
      "label": "CISA Known Exploited Vulnerabilities catalog, version 2026.11.27 (CVE absent)",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "sourceType": "government",
      "observedAt": "2026-11-27T00:00:00.000Z"
    }
  ],
  "artifacts": [
    {
      "id": "budibase-server-3-41-0-before-4-0-0",
      "artifactClass": "package",
      "ecosystem": "npm",
      "name": "Budibase server (@budibase/server), OIDC/SSO account linking in the SSO middleware",
      "version": "3.41.0 to before 4.0.0; advisory verified on 3.41.0 to 3.41.3",
      "defanged": false
    }
  ],
  "indicators": [],
  "timeline": [
    {
      "id": "advisory-published",
      "occurredAt": "2026-11-10T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "Budibase published GitHub security advisory GHSA-jm85-crv2-88px on November 10, 2026: the reconcile code added in 3.41.0 (commit bc8377ee79) links unverified-email OIDC logins to password-less global Builder accounts because isAccountLinkable has no builder or roles clause; the code was verified verbatim on tag 3.41.3 and on the repository head.",
      "sourceIds": [
        "budibase-github-advisory-ghsa-jm85"
      ]
    },
    {
      "id": "cve-published",
      "occurredAt": "2026-11-26T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "The CVE record for CVE-2026-137499 was published on November 26, 2026, naming Budibase from 3.41.0 before 4.0.0, with the VulnCheck CVSS 3.1 score of 9.8, the CVSS 4.0 score of 9.3 and CWE-287.",
      "sourceIds": [
        "nvd-cve-2026-137499",
        "vulncheck-budibase-oidc-linking"
      ]
    },
    {
      "id": "siblings-published",
      "occurredAt": "2026-11-26T00:00:00.000Z",
      "eventType": "disclosure",
      "summary": "The sibling records CVE-2026-137498 (prototype pollution erasing MongoDB query filters, CVSS 3.1 10.0, Budibase Server 3.39.18 before 4.0.0) and CVE-2026-137494 (cross-tenant attachment key file deletion, CVSS 3.1 9.9, Budibase before 4.0.0) were published the same day; the same update to 4.0.0 closes all three.",
      "sourceIds": [
        "nvd-cve-2026-137499"
      ]
    },
    {
      "id": "kev-absence-read",
      "occurredAt": "2026-11-30T00:00:00.000Z",
      "eventType": "first_observed",
      "summary": "Read in this run on November 30, 2026: the CISA KEV catalog at version 2026.11.27 holds 1,808 entries and no entry for CVE-2026-137499, CVE-2026-137494 or CVE-2026-137498.",
      "sourceIds": [
        "cisa-kev"
      ]
    }
  ],
  "coverage": [
    {
      "assertionId": "guard-evidence-pack",
      "relationship": "provides_evidence",
      "limitation": "The campaign rests on the Budibase GitHub security advisory GHSA-jm85-crv2-88px read in full, the NVD records for CVE-2026-137499 and its two sibling records read firsthand through the NVD API, the VulnCheck advisory page, the Budibase release tags read firsthand, and the CISA KEV feed, all read firsthand in this run. HOL did not reproduce the flaw."
    }
  ],
  "policies": [
    {
      "policyId": "update-budibase-4-0-0",
      "purpose": "Update self-hosted Budibase to 4.0.0 or later on every deployment running a 3.41 release, because the SSO reconcile code added in 3.41.0 links an unverified-email OIDC login to a password-less global Builder account (its allowlist refuses password, inactive, global admin and already-linked accounts but has no builder or roles clause), so an attacker holding the builder's email unverified at a trusted provider is signed in as that builder, with every app, datasource and automation the account controls (CVE-2026-137499)",
      "status": "available",
      "limitation": "Deployments already on 4.0.0 or a later release are past the record's range; the policy names the first fixed line from the CVE record."
    }
  ],
  "limitations": [
    "The advisory verified the flawed code on releases 3.41.0 to 3.41.3 and on the repository head at disclosure; the fixed boundary at 4.0.0 comes from the CVE record's range and the release tag line.",
    "The flaw takes over password-less global Builder accounts only; accounts with a password, inactive accounts, global admins and already-linked accounts are refused by the allowlist as written.",
    "No exploitation in the wild is reported by any source read for this page, and the CVE is absent from the CISA KEV catalog version read in this run.",
    "The detection guidance follows the account changes the reconcile makes; the advisory publishes no indicator set or log field list for this flaw."
  ],
  "correctionHref": "/guard/security/campaigns/cve-2026-137499-budibase-builder-account-takeover-oidc-linking/corrections"
}
