Zero Day MonitorZDM
DashboardVulnerabilitiesTrendingZero-DaysNewsAbout
Login
ImpressumPrivacy Policy
Zero Day Monitor © 2026
3192 articles · 168085 vulns · 37/41 feeds (7d)
← Back to list
10.0
CVE-2026-54350EXPLOITEDPATCHED
budiba · budibase

Budibase: Anonymous NoSQL operator injection via published-app query templates

Description

Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase app reads every document of the backing MongoDB, CouchDB, Elasticsearch, DynamoDB-PartiQL, or REST-with-JSON-body collection and, where the builder has published a PUBLIC write query, modifies every document of that collection with one HTTP request. enrichContext at packages/server/src/sdk/workspace/queries/queries.ts:121-138 substitutes parameter values into the raw JSON body of a query, then JSON.parses the result. The validator validateQueryInputs at packages/server/src/api/controllers/query/index.ts:61-71 rejects only Handlebars markers ({{, }}) in user input and does not escape JSON metacharacters (", \, }). A parameter value containing a closing quote and additional keys lifts attacker-controlled fields into the parsed filter object. For Mongo find, the parsed filter passes directly to collection.find() (packages/server/src/integrations/mongodb.ts:506-510). Duplicate-key JSON parsing overrides the builder's {name: "..."} with {name: {$exists: true}} and returns every document. The same primitive against an updateMany query (mongodb.ts:577-585) widens the filter scope to the full collection while the builder-controlled $set body runs against every matched document. The authorized middleware at packages/server/src/middleware/authorized.ts:141-148 short-circuits when the query's role is PUBLIC. CSRF is not enforced on this path. POST /api/v2/queries/:queryId (packages/server/src/api/routes/query.ts:63) accepts the call with no session, only an x-budibase-app-id header that is public from the published-app URL. This vulnerability is fixed in 3.39.12.

Affected Products

VendorProductVersions
budibabudibase< 3.39.12, < 3.39.11

Also Affects

Downstream vendors/products affected by this vulnerability

VendorProductSourceConfidence
open sourcebudibasecert_advisory90%

References

  • https://github.com/Budibase/budibase/security/advisories/GHSA-8qv3-p479-cj62(x_refsource_CONFIRM)

Related News (2 articles)

Tier C
VulDB21h ago
CVE-2026-54350 | budibase up to 3.39.11 JSON Parser queries.ts collection.find sql injection (GHSA-8qv3-p479-cj62)
→ No new info (linked only)
Tier B
BSI Advisories3d ago
[NEU] [kritisch] Budibase: Schwachstelle ermöglicht SQL-Injection
→ No new info (linked only)
CVSS 3.110.0 CRITICAL
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CISA KEV❌ No
Actively exploited✅ Yes
Patch available
@budibase/server@3.39.12
CWECWE-89, CWE-943
PublishedJun 23, 2026
Last enriched20h agov2
Tags
GHSA-8qv3-p479-cj62npm
Trending Score55
Source articles2
Independent2
Info Completeness9/14
Missing: epss, kev, exploit, iocs, mitre_attack

Community Vote

0
Login to vote
0 upvotes0 downvotes
No votes yet

Related CVEs (5)

HIGHCVE-2026-50132EXP
Budibase: Chat Identity Link Hijacking via Missing Consent & CSRF — Account Impersonation in Budibase
Trending: 50
CRITICALCVE-2026-54353EXP
Budibase: Potential SSRF DNS rebinding bypass in outbound fetch validation
Trending: 44
HIGHCVE-2026-50137EXP
Budibase: POST /api/attachments/:datasourceId/url is unauthenticated and lets anonymous callers mint S3 PUT pre-signed URLs using stored datasource IAM credentials
Trending: 42
CRITICALCVE-2026-54352
Budibase: Arbitrary file read by workspace-builder via PWA-zip symlink upload
Trending: 40
CRITICALCVE-2026-50136
Budibase: Unauthenticated S3 signed upload URL generation allows arbitrary writes with stored datasource credentials
Trending: 35

Pin to Dashboard

Verification

State: unverified
Confidence: 0%

Vulnerability Timeline

CVE Published
Jun 23, 2026
Discovered by ZDM
Jun 23, 2026
Actively Exploited
Jun 26, 2026
Patch Available
Jun 26, 2026
Updated: affectedVersions, activelyExploited
Jun 27, 2026

Version History

v2
Last enriched 20h ago
v2Tier C20h ago

Updated affected versions to < 3.39.11, marked exploit availability as false, and noted that the vulnerability is actively exploited.

affectedVersionsactivelyExploited
via VulDB
v14d ago

Initial creation