Servers and applications
CVE-2026-50137
Budibase: POST /api/attachments/:datasourceId/url is unauthenticated and lets anonymous callers mint S3 PUT pre-signed URLs using stored datasource IAM credentials
- Severity
- High 8.2
- Published
- 28 May 2026
- Last changed
- 30 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 3.39.0
- Exploit chance
- 0.4% in the next 30 daysHigher than 36% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Missing authorization (CWE-862)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Change data
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X- Also known as
- GHSA-35c4-rvc8-frhm
- Sources
- NVD, Project advisories (GitHub)
Description
The Budibase server route POST /api/attachments/:datasourceId/url (packages/server/src/api/routes/static.ts) is registered with only the recaptcha middleware. There is no authorized(...) middleware in the chain. The controller (packages/server/src/api/controllers/static/index.ts::getSignedUploadURL) looks the requested datasource up, instantiates an AWS S3 client with the datasource's stored accessKeyId / secretAccessKey, and returns an AWS Signature V4 pre-signed PutObjectCommand URL for the caller-supplied bucket and key. The bucket is not pinned to the datasource's configured bucket.
The workspace context required by sdk.datasources.get is sourced by getWorkspaceIdFromCtx (packages/backend-core/src/utils/utils.ts) from any of: the x-budibase-app-id header, the JSON body appId, a path segment that begins with the workspace prefix, or ?appId=. auth.buildAuthMiddleware([], { publicAllowed: true }) runs before any of this and explicitly allows anonymous requests.
Affected software
| Software | Affected versions |
|---|---|
BudibaseServers and applications · cpe:a:budibase:budibase |
|
BudibaseServers and applications · github:budibase/budibase |
|
About Budibase
low-code development platform
- Docker Hub pulls
- 2,327,272Docker Hub, 15 Nov 2026
- GitHub stars
- 28,419GitHub, 15 Nov 2026
- Forks
- 2,238GitHub, 15 Nov 2026
- Latest release
- v4.0.0GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- First published on GitHub
- 7 Jun 2019GitHub
Website Source code Docker image
Vulnerabilities in Budibase
- In our list
- 124
- Published in the last 12 months
- 121
- Critical, last 12 months
- 27
- High, last 12 months
- 76
- Known exploited
- 0
- GHSA-8wqw-xg9x-89h8Public API View Row Search Bypasses Per-View Authorization via Resource ID Parameter MismatchMedium 6.5 12 Nov 2026
- GHSA-4xqp-vfh8-4fv7Budibase filesystem oracle and conditional directory deletion via body.file.pathMedium 5.4 12 Nov 2026
- GHSA-m2mm-7xvw-9623SSRF blacklist bypass: IPv6 unspecified address :: omitted from outbound-fetch default deny list reaches loopback servicesMedium 5.4 12 Nov 2026
- GHSA-jm85-crv2-88pxUnverified-email OIDC/SSO account linking takes over password-less global Builder (isAccountLinkable allowlist omits builder)Critical 9.8 10 Nov 2026
- GHSA-gvxv-2hpp-8fwvBudibase: View Row-Filter Security Boundary Bypass via Single-Row Read and Attachment EndpointsHigh 10 Nov 2026
- GHSA-f337-5wfg-hxhrMongoDB connectionString filesystem oracle — incomplete fix of GHSA-ppr4-5f46-j9c6High 10 Nov 2026
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2026-50137
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-50137
- GitHub Advisory Database https://github.com/advisories/GHSA-35c4-rvc8-frhm
- github.com https://github.com/Budibase/budibase/security/advisories/GHSA-35c4-rvc8-frhm