Home / Budibase / budibase / CVE-2026-50137
CVE-2026-50137: is it exploited, and which versions of budibase are affected and fixed?
CVE-2026-50137 is a missing authorization vulnerability in budibase. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: @budibase/server before 3.39.0 (GitHub advisory GHSA-35c4-rvc8-frhm). Fixed in 3.39.0 (GitHub advisory GHSA-35c4-rvc8-frhm). Severity: High (8.2, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is 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
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.
From the CVE record by GitHub_M, last updated June 29, 2026, 13:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Budibase | budibase | < 3.39.0 |
As the CVE record by GitHub_M states it, last updated June 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @budibase/server | < 3.39.0 | 3.39.0 | GHSA-35c4-rvc8-frhm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 21, 2026. Summary: Budibase: POST /api/attachments/:datasourceId/url is unauthenticated and lets anonymous callers mint S3 PUT pre-signed URLs using stored datasource IAM credentials.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| budibase | budibase | before 3.39.0 | application |
NVD analysis (status Analyzed), last modified June 30, 2026, 19:49 UTC.
How severe is CVE-2026-50137?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.2 | CVSS 4.0 | 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 | GitHub_M |
| Critical 9.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-50137 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, June 29, 2026)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 24.5 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-862 Missing Authorization
Where are the vendor advisories and references?
- https://github.com/Budibase/budibase/security/advisories/GHSA-35c4-rvc8-frhm x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- June 3, 2026
- Published
- June 26, 2026, 20:41 UTC
- CVE record updated
- June 29, 2026, 13:18 UTC by GitHub_M
- NVD
- Analyzed, last modified June 30, 2026, 19:49 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect budibase?
- Nov 27, 2026CVE-2026-137961 budibase: path traversal (reading or writing files outside the intended folder)
- Nov 20, 2026CVE-2026-122244 budibase: cross-site scripting (XSS)
- Nov 20, 2026CVE-2026-122247 budibase: improper access control
- Oct 1, 2026CVE-2026-103757 budibase: server-side request forgery (SSRF)
- Aug 17, 2026CVE-2026-54356 budibase: missing authorization
- Aug 17, 2026CVE-2026-35219 budibase: server-side request forgery (SSRF)
- Aug 17, 2026CVE-2026-73410 budibase: time-of-check time-of-use race condition
- Aug 17, 2026CVE-2026-64657 budibase: SQL injection
Questions about CVE-2026-50137
Is CVE-2026-50137 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of budibase are affected by CVE-2026-50137?
@budibase/server before 3.39.0, per the GitHub advisory GHSA-35c4-rvc8-frhm. The tables above give every range the sources list.
Which version fixes CVE-2026-50137?
3.39.0, per the GitHub advisory GHSA-35c4-rvc8-frhm. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-50137?
High (8.2, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-50137?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.