Skip to main content

Budibase CVE-2026-72849

| EUVDEUVD-2026-58500 HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-08-13 disclosure@vulncheck.com GHSA-4q4m-8h83-fcmr
8.7
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker initiates own chat-link session
  2. Delivery
    Extracts confirmationToken from returned HTML page
  3. Exploit
    Crafts phishing page with auto-submitting hidden POST form
  4. Install
    Tricks authenticated same-tenant victim into loading phishing page
  5. C2
    Victim's browser submits forged POST with attacker's token
  6. Execute
    Budibase binds victim's globalUserId to attacker's external chat identity
  7. Impact
    Attacker sends AI agent messages as victim, inheriting victim's permissions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The following specific conditions must all be satisfied simultaneously: (1) The AI chat-link handoff feature must be enabled in the Budibase deployment and the affected endpoint /api/chat-links/:instance/:token/handoff must be reachable by the attacker. (2) The attacker must have sufficient access to the Budibase tenant to initiate a chat-link session for an external chat identity they control - the CVSS PR:L rating indicates low-privilege (authenticated) attacker access is required, not unauthenticated. (3) The victim must be an authenticated Budibase user on the same tenant (ctx.isAuthenticated check at confirmChatLinkSession line 142 requires the victim's session cookie to be valid). (4) The victim must be socially engineered into loading the attacker's phishing page while their Budibase session is active (UI:P). (5) AT:P reflects that specific environmental conditions must exist: the attacker and victim must share a tenant, and the attacker must have already generated a valid confirmationToken for an identity they control. Exploitation is limited by: the requirement for same-tenant attacker presence (cross-tenant attacks are not possible), the need for an active victim session, and the social engineering step for user interaction. The endpoint is on public routes (no auth-group middleware), but the victim-side action requires an authenticated browser session.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:H/AT:P/PR:L/UI:P) is appropriate and consistent with the described attack surface. Attack complexity is correctly assessed as High: the attacker must obtain a valid confirmationToken for an identity they control, craft a phishing page that auto-submits the forged POST, and socially engineer a same-tenant victim who is simultaneously authenticated in Budibase. AT:P correctly reflects the prerequisite that the target must be on the same tenant and have the chat-link AI feature accessible. PR:L is justified because the attacker must be able to initiate a chat-link session, implying some level of platform access. The subsequent-system high impact (SC:H/SI:H) captures the real danger: post-exploitation, the attacker does not merely read data but actively operates as the victim inside AI automations, potentially triggering business logic, accessing knowledge bases, or exfiltrating data through agent actions. EPSS data is not provided in the source intelligence, so probabilistic exploitation likelihood cannot be quantified. The vulnerability is not listed in CISA KEV and no public POC code is confirmed, reducing immediate automated exploitation risk. However, the GHSA advisory discloses precise file paths, line numbers, and the full attack mechanism, lowering the technical bar for exploitation significantly. Risk is highest for multi-tenant Budibase deployments where the AI chat-link feature is enabled and multiple users share a workspace, particularly where privileged victim accounts exist.

Exploit ScenarioDerived

An attacker with low-level access to a shared Budibase tenant initiates a chat-link session for their own Slack identity, which generates a confirmationToken visible in the HTML of the confirmation page they receive. The attacker then constructs a phishing page containing a hidden form that auto-submits a POST to /api/chat-links/:instance/:token/handoff with the attacker's confirmationToken embedded, and sends the phishing link to a victim Budibase user who is currently logged in. When the victim's authenticated browser loads the page, the form fires automatically, their globalUserId is silently rebound to the attacker's Slack identity, and the attacker can subsequently send Slack messages to Budibase's AI agent and execute operations with the victim's workspace permissions. No public exploit code is confirmed, but the GHSA advisory provides sufficient technical detail to construct one.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

Cross-site request forgery in Budibase's AI chat-link handoff endpoint (GET/POST /api/chat-links/:instance/:token/handoff) permits a same-tenant attacker with low privileges to permanently bind their external chat identity (Slack, Discord, MS Teams, or Telegram) to any authenticated victim user's Budibase account. Because the confirmation token is rendered in plaintext inside the HTML page the victim views and the POST endpoint carries no CSRF protection or session binding, an attacker can extract the token from their own session initiation flow and embed it in a phishing page that auto-submits on load, hijacking the victim's globalUserId mapping. Once bound, the attacker impersonates the victim across all AI agent operations and inherits the victim's workspace permissions on knowledge sources and downstream automations. No public exploit code or KEV listing is confirmed at time of analysis; the CVSS 4.0 score of 8.7 reflects high confidentiality and integrity impact across both the vulnerable system and subsequent downstream systems.

RemediationAI

The upstream fix is available via GitHub Pull Request #19194 (https://github.com/Budibase/budibase/pull/19194) and commit 362e6c654fb4da6e123c734333da2d6cbdcdb7ef; however, a tagged released version containing the fix has not been independently confirmed from the provided package data - the package entry lists 'fixed in: None' while the CVE description references 3.40.0 as the threshold. Operators should monitor the Budibase release channel and upgrade to 3.40.0 or later once released, verifying against the GHSA advisory at https://github.com/Budibase/budibase/security/advisories/GHSA-pvcr-8mvp-w8qr. As a compensating control until a patched release is confirmed, operators can disable the AI chat-link handoff feature entirely by removing or blocking access to the /api/chat-links/:instance/:token/handoff route at the reverse proxy or API gateway layer - this eliminates the attack surface with no impact to core Budibase functionality. Alternatively, network-level access controls restricting who can reach Budibase endpoints combined with tenant isolation (ensuring untrusted users cannot share a tenant with high-privilege accounts) reduces exploitation opportunity. Adding CSRF token validation to the POST handoff endpoint and binding the confirmationToken to the initiating session server-side are the correct code-level mitigations per the GHSA advisory.

Affected VersionsENISA

Server 0 <3.40.0

Affected Packages

npm @budibase/server no fix
euvd server fix: 3.40.0

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

Budibase is an open-source low-code platform that supports AI agent automation with integrations to external chat platforms. The affected feature is the chat-link handoff flow, which associates an external identity (via Slack, Discord, MS Teams, or Telegram) with a Budibase user account to enable AI agent interactions authenticated as that user. The public routes GET and POST /api/chat-links/:instance/:token/handoff are registered outside the auth-group middleware (packages/server/src/api/routes/chat.ts line 23, 27), meaning no CSRF middleware applies. The confirmationToken - a shared secret intended to authenticate the binding action - is embedded as a hidden HTML input field in the confirmation page rendered by renderLinkConfirmationPage (packages/server/src/api/controllers/ai/chatIdentityLinks.ts lines 40-60, specifically line 55). At confirmation time (confirmChatLinkSession, lines 124-177), the controller checks only that the victim is authenticated (ctx.isAuthenticated) and that the provided token matches the stored session - it does not verify that the POST originates from the same browser session that viewed the confirmation page. This violates the synchronizer token pattern required for CSRF defense. The root cause maps to CWE-352 (Cross-Site Request Forgery): the server cannot distinguish a legitimate confirmation from a forged cross-origin POST because state-changing actions rely solely on a predictable token that was already disclosed to the victim's browser. The upsertChatIdentityLink function (chatIdentityLinks.ts lines 201-250) then permanently overwrites the victim's identity binding.

Know when the next one hits your stack

  • 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

Vendor (vulncheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
vuln.today AI 7.7 HIGH

Network vector with high complexity for token extraction and phishing; PR:L for same-tenant session initiation; scope change captures downstream AI agent system impact.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 23:04 EUVD
CVE Published
Aug 13, 2026 - 22:17 cve.org
HIGH 8.7

DescriptionCVE.org

Budibase before 3.40.0 contains a cross-site request forgery vulnerability in the chat-link handoff endpoint that allows attackers to bind an external chat identity to a victim's account. Attackers can craft a phishing page that auto-submits a POST request with a leaked confirmation token to bind their chat identity to a victim user's account, enabling impersonation within agent operations and inheritance of victim permissions.

Executive ViewAI

Why It Matters

Budibase's AI chat integration feature is vulnerable to account hijacking attacks where a low-privilege insider can trick colleagues into visiting a phishing page, then impersonate them and access their workspace, knowledge bases, automations, and sensitive data. While no public exploit code has been identified at time of analysis, the vulnerability is readily exploitable for both insider attacks and targeted phishing campaigns against users. This creates immediate insider-risk and operational security threats for organizations using Budibase's AI chat capabilities.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: Disable or restrict the /api/chat-links/:instance/:token/handoff endpoint via firewall, WAF, or application controls to prevent exploitation; enforce mandatory CSRF token validation and SameSite=Strict cookie policies; implement detection and alerting on chat identity binding operations; conduct regular audits of active chat identity mappings to identify unauthorized bindings; restrict AI agent and workspace access for all Budibase users using the principle of least privilege to minimize exposure from any compromised accounts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
Medium
popular open-source low-code platform, self-hosted enterprise deployments
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy