Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Budibase account
-
DeliveryObtain victim accountId via out-of-band leak
-
ExploitSubmit crafted POST /api/v2/email with victim accountId
-
InstallReceive verification code at attacker-controlled address
-
C2Confirm email change via POST /api/v2/email/verification
-
ExecuteTrigger victim password reset to controlled inbox
-
ImpactAuthenticate as victim, account fully taken over
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | The attacker must hold a valid Budibase account (any tier, including free) to pass the session check on currentEmail - unauthenticated exploitation is not possible per the PR:L CVSS rating. The mandatory and limiting prerequisite is possession of the victim's accountId UUID: the GHSA advisory confirmed that this value is absent from every API endpoint accessible to non-admin free-tier accounts (GET /api/global/users, GET /api/global/auditlogs/search, GET /api/global/users/invites, GET /api/v2/tenant, and all unauthenticated endpoints). The attacker must acquire the accountId through an out-of-band channel such as a support interaction, a screenshot leak, a prior partial compromise, or insider access. The vulnerability is scoped to the email-change workflow (POST /api/v2/email and POST /api/v2/email/verification) on the account portal; other Budibase API surfaces are not directly involved. Self-hosted deployments that do not expose the account portal may not be affected by this specific endpoint. |
| Impact | The CVSS 8.2 score with vector AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N accurately reflects the attack profile. AC:H is the critical moderating factor: the GHSA advisory explicitly confirms that the victim's accountId is not exposed through any API surface accessible to non-admin free-tier accounts - GET /api/global/users, audit logs, invite endpoints, and tenant endpoints all return no such UUID - meaning the attacker must obtain it through an out-of-band channel. This substantially reduces real-world exploitability versus a straightforward IDOR where the key is enumerable. The S:C (scope change) and C:H/I:H ratings are justified because successful exploitation crosses account boundaries and results in complete credential control over the victim's account. No EPSS score, CISA KEV listing, or POC code was provided in available data, so exploitation likelihood beyond the theoretical is unconfirmed. For SaaS deployments on account.budibase.app, the accountId acquisition barrier is the primary real-world risk filter; for self-hosted deployments, the exposure surface and accountId discoverability may differ. |
| Exploit ScenarioDerived | An attacker with a valid free-tier Budibase account obtains a target user's accountId UUID through an out-of-band channel - for example, a support ticket exchange, a leaked screenshot, or a prior partial compromise - then sends a crafted POST /api/v2/email request substituting the victim's accountId while providing an attacker-controlled email address and the attacker's own currentEmail to pass the session check. The verification code arrives in the attacker's inbox; they submit it via POST /api/v2/email/verification, the victim's account email is permanently changed, and the attacker completes a password reset to the now-controlled address - achieving full account takeover with zero victim interaction. No public exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
Full account takeover is possible in Budibase's account portal via an Insecure Direct Object Reference (IDOR) in the email-change API endpoint, affecting all versions prior to 3.40.0. POST /api/v2/email on account.budibase.app accepts a client-supplied accountId without binding it to the authenticated session - an authenticated attacker who obtains a victim's accountId UUID can redirect the email-change verification code to an attacker-controlled address, then complete a password reset to seize the victim's account entirely without any victim interaction required. No public exploit code has been identified at time of analysis; the vulnerability is fixed in Budibase 3.40.0.
RemediationAI
Upgrade to Budibase 3.40.0 or later, which contains the fix for this vulnerability. Release artifacts are available at https://github.com/Budibase/budibase/releases/tag/3.40.0. For organizations unable to patch immediately, restrict network access to the account portal (account.budibase.app) to trusted IP ranges via firewall or API gateway rules - this reduces the attack surface to internal actors, with the trade-off of blocking remote legitimate email-change requests. If self-hosting, disabling or WAF-blocking POST /api/v2/email entirely until the upgrade is applied eliminates the attack vector at the cost of preventing all email changes for users. Monitoring for email-change API calls where the submitted accountId does not match the session's accountId can serve as a detection control, though it requires custom logging instrumentation. No workaround fully substitutes for the patch.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-639 (Authorization Bypass Through User-Controlled Key): the POST /api/v2/email endpoint on the Budibase account portal validates the currentEmail field against the session to prevent trivial misuse, but never enforces that the body-supplied accountId matches session.accountId. Because the legitimate frontend always submits the logged-in user's own accountId, the server-side trust assumption went undetected in normal use. The attack exploits the email-change workflow in two sequential API calls - POST /api/v2/email to initiate and POST /api/v2/email/verification to confirm - both operating on the attacker-supplied accountId. The affected package is npm/@budibase/server (CPE: cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*). The IDOR is more impactful than a direct password reset because the existing PUT /api/v2/auth/password reset link is delivered to the address on the account - which the attacker does not control - whereas this vulnerability allows the attacker to move the victim's email address first, then receive the reset link.
Know when Budibase gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
AV:N for account portal API; AC:H because victim accountId is not enumerable via normal API surfaces; PR:L for authenticated attacker; S:C for cross-account impact; A:N as availability is unaffected.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Budibase is an open-source low-code platform. Prior to 3.40.0, POST /api/v2/email on account.budibase.app accepted a client-controlled accountId without binding it to the authenticated session, while checking only currentEmail. An authenticated attacker who obtains a victim account identifier can start the email-change workflow for the victim, receive and submit the verification code through POST /api/v2/email/verification, move the victim email to an attacker-controlled address, and complete a password reset as the victim. This issue is fixed in version 3.40.0.
Executive ViewAI
Budibase versions prior to 3.40.0 contain a critical account takeover vulnerability in the account portal that allows authenticated attackers to seize any user account. By exploiting an insecure API endpoint, attackers with valid credentials can redirect password-reset emails and completely compromise victim accounts without any action required from the target. All organizations using affected Budibase versions face complete loss of account access control for their Budibase platform.
Vendor-released patch: Budibase 3.40.0
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
EUVD-2026-57426
GHSA-c8vc-7pv3-g98p
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB