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.
CVE-2026-50137
This critical-severity CVE scores 9.4 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 67% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.4
- EG Score
- 9.4(medium)
- EPSS
- 33.4%
- KEV
- Not listed
Published
June 22, 2026
Last Modified
June 30, 2026
Advisory Details (1)
Auto-updated Jun 26, 2026Budibase: POST /api/attachments/:datasourceId/url is unauthenticated and lets anonymous callers mint S3 PUT pre-signed URLs using stored datasource IAM credentials · Advisory · Budibase/budibase · GitHub
https://github.com/Budibase/budibase/security/advisories/GHSA-35c4-rvc8-frhmVendor Advisories for CVE-2026-50137(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| @budibase/server | — | 3.39.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 45× in last 7d / 60× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 02:45 UTCEG score recompute
- 2026-07-06 22:45 UTCEG score recompute
- 2026-07-06 18:46 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 14:19 UTCEG score recompute
- 2026-07-06 10:18 UTCEG score recompute
- 2026-07-06 06:18 UTCEG score recompute
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 01:50 UTCEG score recompute
- 2026-07-05 21:51 UTCEG score recompute
- 2026-07-05 17:52 UTCEG score recompute
- 2026-07-05 13:52 UTCEG score recompute
- 2026-07-05 09:51 UTCEG score recompute
- 2026-07-05 05:49 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 01:41 UTCEG score recompute
- 2026-07-04 21:41 UTCEG score recompute
- 2026-07-04 17:40 UTCEG score recompute
- 2026-07-04 13:41 UTCEG score recompute
- 2026-07-04 09:42 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 05:41 UTCEG score recompute
- 2026-07-04 01:41 UTCEG score recompute
- 2026-07-03 21:32 UTCEG score recompute
- 2026-07-03 17:33 UTCEG score recompute
Show 35 moreShow fewer
- 2026-07-03 13:34 UTCEG score recompute
- 2026-07-03 09:35 UTCEG score recompute
- 2026-07-03 05:35 UTCEG score recompute
- 2026-07-03 01:32 UTCEG score recompute
- 2026-07-02 21:32 UTCEG score recompute
- 2026-07-02 17:33 UTCEG score recompute
- 2026-07-02 13:32 UTCEG score recompute
- 2026-07-02 09:32 UTCEG score recompute
- 2026-07-02 05:32 UTCEG score recompute
- 2026-07-02 01:33 UTCEG score recompute
- 2026-07-01 21:34 UTCEG score recompute
- 2026-07-01 17:34 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 13:34 UTCEG score recompute
- 2026-07-01 09:35 UTCEG score recompute
- 2026-07-01 05:36 UTCEG score recompute
- 2026-07-01 01:36 UTCEG score recompute▲ 1.20
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 20:33 UTCNVD updateCVSS v3 → 9.4 · severity → CRITICAL
- 2026-06-30 14:31 UTCEG score recompute
- 2026-06-30 03:24 UTCEG score recompute
- 2026-06-29 16:19 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 05:13 UTCEG score recompute
- 2026-06-28 18:07 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 07:01 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 19:55 UTCEG score recompute
- 2026-06-27 08:50 UTCEG score recompute
- 2026-06-26 21:45 UTCEG score recompute▲ 8.20
- 2026-06-26 21:42 UTCNVD updateCVSS v3 → 8.2 · CVSS v4 → 8.2
- 2026-06-22 23:30 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-862
Frequently asked(5)
What is CVE-2026-50137?
When was CVE-2026-50137 disclosed?
Is CVE-2026-50137 actively exploited?
What is the CVSS score of CVE-2026-50137?
How do I remediate CVE-2026-50137?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50137
Is Your Infrastructure Affected by CVE-2026-50137?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.