Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @budibase/server
  4. ›
  5. GHSA-pvcr-8mvp-w8qr

GHSA-pvcr-8mvp-w8qr: Budibase: Chat-Link Handoff Identity Confusion (Same-Tenant Account-Link CSRF)

July 24, 2026

The Budibase AI chat-link handoff flow (GET/POST /api/chat-links/:instance/:token/handoff) binds an external chat identity (Slack/Discord/MS Teams/Telegram) to a Budibase user account. The confirmation endpoint is on a public route (no CSRF middleware, no auth-group gate) and the only credential it checks is a confirmationToken that is already rendered in plaintext into the HTML confirmation page the victim views. There is no binding between the confirmation token and the requester’s Budibase session at preparation time, and no CSRF token on the POST.

Consequently, an attacker who creates a chat-link session for their own external chat identity (or any identity they can mint in their chat platform) can induce a victim Budibase user (same tenant) to submit the confirmation POST -> for example by sending them a link that auto-submits, or by XSS/CSRF on a co-tenanted page -> and the victim’s globalUserId becomes bound to the attacker’s external identity. The attacker then sends messages to the AI agent from their chat platform and is acting as the victim user inside Budibase automations/agent operations, inheriting the victim’s permissions on agent operations, knowledge sources, and any downstream automation steps keyed off the linked identity.


References

  • github.com/Budibase/budibase/commit/362e6c654fb4da6e123c734333da2d6cbdcdb7ef
  • github.com/Budibase/budibase/pull/19194
  • github.com/Budibase/budibase/releases/tag/3.39.30
  • github.com/Budibase/budibase/security/advisories/GHSA-pvcr-8mvp-w8qr
  • github.com/advisories/GHSA-pvcr-8mvp-w8qr

Code Behaviors & Features

Detect and mitigate GHSA-pvcr-8mvp-w8qr with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 3.38.1

Solution

Unfortunately, there is no solution available yet.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-285: Improper Authorization
  • CWE-345: Insufficient Verification of Data Authenticity
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

npm/@budibase/server/GHSA-pvcr-8mvp-w8qr.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:18:13 +0000.