Vulnerabilities in pkg:npm/@budibase/server

PACKAGE
Advisory Identifier: GHSA-6x9p-4r67-5gjx
Advisory Summary

CVE-2026-54356 is a HIGH (CVSS 7.1) remote code execution vulnerability (CWE-862: Missing Authorization) affecting @budibase/server libraries in the npm ecosystem. The issue involves datasourceid/url`. Remediation is available in the latest vendor maintenance releases.

42 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/@budibase/server

42 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/@budibase/server. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6x9p-4r67-5gjx CVE-2026-54356 HIGH Budibase authenticated arbitrary S3 signed upload URL issuance via `/api/attachments/:datasourceId/url`
GHSA-5fpj-28rv-84r7 CVE-2026-35219 HIGH Budibase: SSRF in Automation Steps - Webhook, Zapier, N8N, Slack, Discord Bypass IP Blacklist
GHSA-v42f-v8xc-j435 CVE-2026-73410 HIGH Budibase: SSRF via DNS rebinding in the REST datasource integration
GHSA-ppr4-5f46-j9c6 CVE-2026-73409 HIGH Budibase: Server Filesystem Existence/Read Oracle via Builder-Controlled MongoDB tlsCertificateKeyFile
GHSA-hr66-5mqr-8mpx CVE-2026-73406 HIGH Budibase: Unauthenticated user information disclosure via public tenant user lookup endpoint
GHSA-gh4h-34gr-87r7 CVE-2026-73308 MODERATE Budibase: OAuth2 Token Disclosure via Automation Test Results Broadcast to Other Builders
GHSA-hfhx-w8p8-4hc7 CVE-2026-73307 MODERATE Budibase: SSRF via bare fetch() in uploadUrl during AI table generation
GHSA-8qv3-p479-cj62 CVE-2026-54350 CRITICAL Budibase has nonymous NoSQL operator injection via published-app query templates
GHSA-w7mq-r738-x278 CVE-2026-54352 CRITICAL Budibase has arbitrary file read by workspace-builder via PWA-zip symlink upload
GHSA-j9fc-w3mr-x6mv CVE-2026-73305 HIGH Budibase: Privilege escalation via public role assignment API missing app-level authorization
GHSA-4qcj-m5wp-jmf4 CVE-2026-73301 MODERATE Budibase: Missing RBAC on GET /api/global/groups allows BASIC users to enumerate all tenant groups and role mappings
GHSA-fcrw-f7gg-6g9f CVE-2026-73304 MODERATE Budibase: SSO OAuth2 Token Leakage via User Metadata Endpoints to Power-Role Users
GHSA-hp6v-6jw7-gv2f CVE-2026-73302 CRITICAL Budibase: OIDC SSO account takeover: incoming identity linked by email without checking email_verified
GHSA-c8vc-7pv3-g98p CVE-2026-73303 HIGH Budibase: Email Change IDOR via POST /api/v2/email allows full Account Takeover (accountId not validated against session)
GHSA-q6x4-v3qx-85qw CVE-2026-73300 CRITICAL Budibase: SQL Injection via `multipleStatements: true`
GHSA-cr7p-cr3q-h5cm CVE-2026-73306 MODERATE Budibase: Account Enumeration via Login Lockout Response Differential
GHSA-pmpg-2mxq-6xwr - HIGH Budibase: NoSQL injection in MongoDB integration: collection dump, $where JS exec, cross-collection pivot, arbitrary update/delete
GHSA-pvcr-8mvp-w8qr - HIGH Budibase: Chat-Link Handoff Identity Confusion (Same-Tenant Account-Link CSRF)
GHSA-2xgg-r2wc-c5r2 - HIGH Budibase: MySQL DESCRIBE Backtick Injection via multipleStatements in Database Connector
GHSA-qw6m-8fw2-2v64 - HIGH Budibase: NoSQL Injection via JSON Parameter Interpolation in MongoDB Query Execution
GHSA-mqhr-6j6h-74p5 - CRITICAL Budibase: Unauthenticated REST Datasource Credential Theft via Cross-Origin Auth Leak
GHSA-xg5g-26x8-cvf4 - HIGH Budibase: DNS rebinding SSRF bypasses remain in OpenAPI import and REST query execution
GHSA-xcx6-4f2g-hhgx - HIGH Budibase: S3 presigned URL endpoint authorization regression in v3.39.4 allows BASIC users to obtain S3 PutObject presigned URLs
GHSA-rgvg-3wpc-h44p CVE-2026-54351 HIGH Budibase: Mass Assignment in Webhook Trigger Allows Cross-Workspace Automation Execution via appId Override
GHSA-35c4-rvc8-frhm CVE-2026-50137 HIGH Budibase: POST /api/attachments/:datasourceId/url is unauthenticated and lets anonymous callers mint S3 PUT pre-signed URLs using stored datasource IAM credentials
GHSA-v7j5-vc4m-723w CVE-2026-50132 HIGH Budibase has an Account Impersonation Issue — Chat Identity Link Hijacking via Missing Consent & CSRF
GHSA-jj36-r9w3-3pfh CVE-2026-50136 HIGH Budibase: Unauthenticated S3 signed upload URL generation allows arbitrary writes with stored datasource credentials
GHSA-4q6h-8p4v-67vq CVE-2026-48153 HIGH Budibase: SSRF via OAuth2 token endpoint URL reaches internal hosts and cloud metadata
GHSA-3gp5-q4jw-3v94 CVE-2026-48152 HIGH Budibase: Basic app users can exfiltrate stored REST datasource auth by rewriting datasource base URL
GHSA-qhv3-wjg8-6fx6 CVE-2026-48151 HIGH Budibase: Webhook schema endpoint authorization bypass allows unauthenticated mutation of webhook and automation schema
GHSA-6xp4-cf37-ppjh CVE-2026-48150 CRITICAL Budibase: Workspace-scoped builder escalates to global admin via /api/public/v1/roles/assign
GHSA-cv96-5348-p5p8 CVE-2026-48148 MODERATE Budibase: Unvalidated VectorDB Host Parameter Enables SSRF
GHSA-g6qx-g4pr-92v7 CVE-2026-48146 HIGH Budibase: SSRF via OAuth2 Config Validation — Missing fetchWithBlacklist Protection
GHSA-363w-hvwh-w7m6 CVE-2026-45719 MODERATE Budibase: CouchDB Reduce Injection via Unsanitized Calculation Parameter in V1 Views API
GHSA-44m2-crh7-f4q2 CVE-2026-45717 HIGH Budibase: `PUT /api/datasources/:datasourceId` is protected only by `TABLE/READ` permission instead of builder access, allowing any authenticated app user to overwrite datasource connection parameters including host, port, and URL
GHSA-fgqv-jh4g-pvg2 CVE-2026-45715 HIGH Budibase: SSRF Bypass via HTTP Redirect in REST Datasource Integration
GHSA-rpj4-7x2v-wjrf CVE-2026-45548 HIGH Budibase: SSRF in AI Extract File Automation Step via Missing IP Blacklist Validation
GHSA-gjw9-34gf-rp6m CVE-2026-25044 HIGH Budibase: Command Injection in Bash Automation Step
GHSA-fcm4-4pj2-m5hf CVE-2026-35216 CRITICAL Budibase: Unauthenticated Remote Code Execution via Webhook Trigger and Bash Automation Step
GHSA-2wfh-rcwf-wh23 CVE-2026-35214 HIGH Budibase: Path traversal in plugin file upload enables arbitrary directory deletion and file write
GHSA-726g-59wr-cj4c CVE-2026-25041 HIGH @budibase/server: Command Injection in PostgreSQL Dump Command
GHSA-4g2x-vq5p-5vj6 - CRITICAL Budibase affected by VM2 Constructor Escape Vulnerability

CVE-2026-54356 at a Glance

CVE Identifier CVE-2026-54356
GHSA Identifier GHSA-6x9p-4r67-5gjx
Severity HIGH
CVSS v3.1 Base Score 7.1
CWE Classification CWE-862: Missing Authorization
Affected Product @budibase/server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability Low (A:L)

How to Fix CVE-2026-54356

To remediate this vulnerability, upgrade all affected @budibase/server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@budibase/server fixed: Latest secure release
npm install @budibase/server@Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @budibase/server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-54356, inspect your project dependencies using npm:

npm ls @budibase/server

Analyze the terminal output to locate any version of @budibase/server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The npm ls @budibase/server command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In @budibase/server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Budibase 3.39.7 allows a low-privilege authenticated published-app user with the built-in BASIC role to obtain arbitrary S3 pre-signed upload URLs backed by a workspace datasource's stored server-side credentials. The affected endpoint is: `POST /api/attachments/:datasourceId/url` The caller can control: ```text bucket key ``` and receives: ```text signedUrl publicUrl ``` This lets a low-privilege published-app user mint S3 `PUT` URLs using server-side datasource credentials for attacker-chosen object destinations. Steps: 1. Log in as an admin user. 2. Create a new app/workspace. 3. In the development app context, create an S3 datasource with valid credentials. 4. Publish the app. 5. Create a low-privilege user with the built-in BASIC role on the published production app ID. 6. Log in as that BASIC user. 7. Send: `POST /api/attachments/<datasourceId>/url` with: ```json {"bucket":"foo","key":"bar"} ``` and the published app header: ```text x-budibase-app-id: <published_app_id> ``` Observe a successful response containing: ```text signedUrl publicUrl ``` ### Observed result The following behavior: dev BASIC request: 403 User does not have permission app publish: SUCCESS prod BASIC request: 200 OK Example confirmed runtime values from the final successful run: ```text prodAppId: app_e6b4cdc6cd6949969a83ff11eee88c5a datasourceId: datasource_0cec491b26a742468257c62382aa3284 publicUrl: https://foo.s3.eu-west-1.amazonaws.com/bar ``` The returned signedUrl contained standard AWS signing markers, including: ```text X-Amz-Credential=bb X-Amz-Signature X-Amz-Expires=900 ``` ### Impact A low-privilege published-app user who knows a valid datasource ID can mint S3 upload URLs backed by server-side datasource credentials and choose arbitrary destination bucket and key values. ### Route definition `packages/server/src/api/routes/static.ts:45` Authorization logic `packages/server/src/middleware/authorized.ts` `packages/server/src/middleware/resourceId.ts` Controller logic `packages/server/src/api/controllers/static/index.ts` Datasource lookup `packages/server/src/sdk/workspace/datasources/datasources.ts`

CVE-2026-54356 Affected @budibase/server Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
@budibase/server
npm
≤ 3.38.1

References

Frequently Asked Questions

What is CVE-2026-54356?
CVE-2026-54356 is a security vulnerability in @budibase/server involving datasourceId/url` under CWE-862: Missing Authorization.
Which @budibase/server versions are affected?
Affected versions include releases prior to current release patches across affected packages: @budibase/server.
What version fixes CVE-2026-54356?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is @budibase/server affected?
Yes, @budibase/server is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-54356?
CVE-2026-54356 has a CVSS v3.1 base score of 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L.
What CWE is associated with CVE-2026-54356?
CVE-2026-54356 is classified under CWE-862: Missing Authorization (The product does not perform an authorization check when an actor attempts to access a resource or perform an action.).
How can I check npm dependencies for CVE-2026-54356?
Run the dependency tree command: 'npm ls @budibase/server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6x9p-4r67-5gjx",
  "modified" : "2026-08-26T14:07:26Z",
  "published" : "2026-08-26T14:07:26Z",
  "aliases" : [ "CVE-2026-54356" ],
  "summary" : "Budibase authenticated arbitrary S3 signed upload URL issuance via `/api/attachments/:datasourceId/url`",
  "details" : "### Summary\nBudibase 3.39.7 allows a low-privilege authenticated published-app user with the built-in BASIC role to obtain arbitrary S3 pre-signed upload URLs backed by a workspace datasource's stored server-side credentials.\n\nThe affected endpoint is:\n\n`POST /api/attachments/:datasourceId/url`\n\nThe caller can control:\n```text\nbucket\nkey\n```\nand receives:\n```text\nsignedUrl\npublicUrl\n```\n\nThis lets a low-privilege published-app user mint S3 `PUT` URLs using server-side datasource credentials for attacker-chosen object destinations.\n\nSteps:\n\n1. Log in as an admin user.\n2. Create a new app/workspace.\n3. In the development app context, create an S3 datasource with valid credentials.\n4. Publish the app.\n5. Create a low-privilege user with the built-in BASIC role on the published production app ID.\n6. Log in as that BASIC user.\n7. Send:\n`POST /api/attachments/<datasourceId>/url`\n\nwith:\n```json\n{\"bucket\":\"foo\",\"key\":\"bar\"}\n```\nand the published app header:\n```text\nx-budibase-app-id: <published_app_id>\n```\nObserve a successful response containing:\n```text\nsignedUrl\npublicUrl\n```\n\n### Observed result\n\nThe following behavior:\n\ndev BASIC request: 403 User does not have permission\napp publish: SUCCESS\nprod BASIC request: 200 OK\nExample confirmed runtime values from the final successful run:\n```text\nprodAppId: app_e6b4cdc6cd6949969a83ff11eee88c5a\ndatasourceId: datasource_0cec491b26a742468257c62382aa3284\npublicUrl: https://foo.s3.eu-west-1.amazonaws.com/bar\n```\nThe returned signedUrl contained standard AWS signing markers, including:\n```text\nX-Amz-Credential=bb\nX-Amz-Signature\nX-Amz-Expires=900\n```\n### Impact\n\nA low-privilege published-app user who knows a valid datasource ID can mint S3 upload URLs backed by server-side datasource credentials and choose arbitrary destination bucket and key values.\n\n### Route definition\n`packages/server/src/api/routes/static.ts:45`\nAuthorization logic\n`packages/server/src/middleware/authorized.ts`\n`packages/server/src/middleware/resourceId.ts`\nController logic\n`packages/server/src/api/controllers/static/index.ts`\nDatasource lookup\n`packages/server/src/sdk/workspace/datasources/datasources.ts`",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@budibase/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.38.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/Budibase/budibase/security/advisories/GHSA-6x9p-4r67-5gjx"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54356"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/Budibase/budibase"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/Budibase/budibase/releases/tag/3.41.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-08-26T14:07:26Z",
    "nvd_published_at" : "2026-08-17T21:16:46Z"
  }
}