CVE-2026-50137
Last modified
CVE-2026-50137 is a critical-severity vulnerability rated 9.4/10 on the CVSS scale. Budibase is an open-source low-code platform. Prior to 3.39.0, an anonymous attacker who knows or can enumerate a workspace id (app_...) and an S3-source datasource id (ds_...) can call this endpoint with no auth and obtain a 15-minute pre-signed PUT URL minted on the victim's IAM identity. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
Budibase is an open-source low-code platform. Prior to 3.39.0, an anonymous attacker who knows or can enumerate a workspace id (app_...) and an S3-source datasource id (ds_...) can call this endpoint with no auth and obtain a 15-minute pre-signed PUT URL minted on the victim's IAM identity. The endpoint also returns the publicUrl so the attacker knows exactly where their PUT lands. Because bucket is attacker-controlled, the attacker can write to any bucket those IAM credentials can write to, not only the bucket the datasource was configured for. 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. The currentWorkspace middleware's "deny access to dev preview" branch only triggers under isBrowser(ctx) && !isApiKey(ctx); isBrowser checks the parsed User-Agent for a recognised browser, so any non-browser client (curl, the supplied PoC, any tool not setting a browser UA) is neither and reaches dev workspaces too. This vulnerability is fixed in 3.39.0.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Budibase | Budibase | < 3.39.0 |
References
- https://github.com/Budibase/budibase/security/advisories/GHSA-35c4-rvc8-frhmExploit, Mitigation, Vendor Advisory
- https://github.com/Budibase/budibase/security/advisories/GHSA-35c4-rvc8-frhmExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-50137?
How severe is CVE-2026-50137?
How do I fix CVE-2026-50137?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50131Fedify is a TypeScript library for building federated server…8.6
- CVE-2026-50132Budibase is an open-source low-code platform. Prior to 3.39.…7.3
- CVE-2026-50133Hugo is a static site generator. Prior to 0.162.0, Hugo acce…6.1
- CVE-2026-50134Hugo is a static site generator. From 0.91.0 until 0.162.0, …5.8
- CVE-2026-50135Hugo is a static site generator. From 0.123.0 to 0.161.1, a …5.5
- CVE-2026-50136Budibase is an open-source low-code platform. Prior to 3.39.…5.3
- CVE-2026-5014A vulnerability was found in elecV2 elecV2P up to 3.8.3. The…5.5
- CVE-2026-50141Woodpecker is a CI/CD engine. Starting in version 3.0.0 and …7.1
- CVE-2026-50144ncnn is a high-performance neural network inference framewor…7.1
- CVE-2026-50146Astro is a web framework. Prior to 6.3.3, when a component u…6.1
- CVE-2026-50147Metabase is an open-source business intelligence and embedde…7.6
- CVE-2026-50148Metabase is an open-source business intelligence and embedde…9.1
Are you affected by CVE-2026-50137?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
