# CVE-2026-45717: Budibase missing authorization in datasource management API

Source: https://junglewise.ai/threats/cve-2026-45717-budibase-missing-authorization-in-datasource-management-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-27. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-45717 · Severity: high · CVSS 8.8 · Published 2026-05-27

Budibase is a low-code platform that connects to external databases and APIs through datasources. An authorization flaw allows any authenticated user with the BASIC role (the lowest non-public role assigned to all app users) to modify datasource connection settings, including the server host, port, and credentials. An attacker can redirect a datasource to internal IP addresses to probe private networks, exfiltrate metadata from cloud services, or break all application queries for legitimate users by injecting invalid configurations.

Technologies: [@budibase/server (npm)](https://junglewise.ai/threats/technologies/budibase-server). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-45717 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-45717 being exploited in the wild.

**How severe is CVE-2026-45717?** High severity, with a CVSS score of 8.8, published 27 May 2026.

**Which products and versions are affected?** @budibase/server (npm) < 3.38.1, SEMVER:introduced=0,fixed=3.38.1.

**Is there a fix for CVE-2026-45717?** Yes. @budibase/server (npm): upgrade to 3.38.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-45717 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-45717?** Check whether you run @budibase/server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- @budibase/server (npm): upgrade to 3.38.1 or later

  ```sh
  npm install @budibase/server@3.38.1
  ```


## Technical details

The vulnerability is an RBAC bypass in datasource management. The PUT /api/datasources/:datasourceId route is registered under authorizedRoutes with TABLE/READ permission check, the same level as the read-only GET endpoint. However, destructive operations (create, delete, verify) correctly use builderRoutes. The authorization middleware allows any BASIC-role user (who carries TABLE/WRITE implicitly) to pass the check, and the datasource controller performs no additional builder-level authorization guard. The mergeConfigs function does not restrict non-password fields (host, port, database, url, ssl), allowing attackers to supply arbitrary connection parameters. Attack vectors include: (1) SSRF via SQL driver redirection to cloud metadata endpoints or internal services at arbitrary ports; (2) SSRF via REST datasource URL rewriting; (3) denial of service by corrupting datasource config. Patch is available in version 3.38.1.

## Affected products

- Budibase @budibase/server <3.38.1

## Identifiers

- CVE-2026-45717
- GHSA-44m2-crh7-f4q2

## Timeline

- 2026-05-15: disclosed: GHSA-44m2-crh7-f4q2 published
- 2026-05-12: patched: Version 3.38.1 released with fix

## References

- [https://github.com/Budibase/budibase/security/advisories/GHSA-44m2-crh7-f4q2](https://github.com/Budibase/budibase/security/advisories/GHSA-44m2-crh7-f4q2)
- [https://github.com/Budibase/budibase](https://github.com/Budibase/budibase)
- [https://github.com/Budibase/budibase/releases/tag/3.38.1](https://github.com/Budibase/budibase/releases/tag/3.38.1)

## Related threats

- [Budibase S3 signed upload URL issuance via attachments endpoint](https://junglewise.ai/threats/cve-2026-54356-budibase-s3-signed-upload-url-issuance-via-attachments-endpoint)
- [Budibase automation SSRF in webhook and integration steps](https://junglewise.ai/threats/cve-2026-35219-budibase-automation-ssrf-in-webhook-and-integration-steps)
- [Budibase S3 presigned URL authorization regression](https://junglewise.ai/threats/cve-2026-72859-budibase-s3-presigned-url-authorization-regression)
- [Budibase MySQL DESCRIBE backtick injection via multipleStatements](https://junglewise.ai/threats/cve-2026-73408-budibase-mysql-describe-backtick-injection-via-multiplestatements)
- [Budibase privilege escalation in public role assignment API](https://junglewise.ai/threats/cve-2026-73305-budibase-privilege-escalation-in-public-role-assignment-api)
