Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain role for target query (or PUBLIC)
-
DeliveryPOST crafted parameter to /api/v2/queries/:queryId
-
ExploitUnescaped template breaks out of JSON string
-
ExecutionJSON.parse injects extra {Key} entries
-
ImpactdeleteObjects removes attacker-chosen S3 objects
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
|
| Exploitation Conditions | Requires a Budibase instance (<= 3.40.1) with a configured query against an Amazon S3 datasource using the 'delete' field, or a Google Sheets datasource using 'row'/'rows' fields, where those JSON-typed fields embed a template parameter the attacker can control. The attacker must be able to call POST /api/v2/queries/:queryId for that query: per CVSS PR:L this is a low-privilege authenticated user, but the advisory documents that if the builder assigned the query a PUBLIC role, it is reachable unauthenticated (PUBLIC short-circuit at authorized.ts:145-152). validateQueryInputs does not block the needed JSON metacharacters (only {{ }}). Limiting factors: exploitation only affects buckets/sheets the query is configured against; S3 yields deletion only (no read/confidentiality), and the Google Sheets variant is limited to structural column override of the inserted/updated row with no cross-record read. The complete fix is upgrading to 4.0.0 as stated by the advisory. |
| Impact | Signals are moderate-to-elevated but not emergency-tier. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) scores 7.2 (High) with vulnerable-system impact VI:H/VA:H and VC:N - i.e., no confidentiality loss, but attacker-controlled integrity and availability damage (arbitrary S3 object deletion). PR:L indicates a low-privilege authenticated attacker per CVSS; however, the GHSA attack chain notes the queries endpoint can be reached by a PUBLIC role if the builder assigns one (authorized.ts:145-152 short-circuit), so in some deployments the practical privilege requirement drops to unauthenticated - this is a config-dependent discrepancy worth verifying per instance. No EPSS score and no KEV listing are present in the input, so there is no evidence of active or widespread exploitation; absence of these is not itself a risk signal. The GHSA advisory includes a concrete step-by-step proof of concept (crafted parameters.key value), so exploitation is well understood and reproducible even though no standalone weaponized exploit tool is confirmed. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a real but non-critical priority. Net: a credible integrity/availability threat to Budibase instances exposing S3-delete or Google Sheets write queries, meriting prompt patching, but lower urgency than a confidentiality-breaching or actively-exploited flaw. |
| Exploit ScenarioDerived | An attacker with access to invoke a Budibase S3 'delete' query (low-privilege, or unauthenticated if the query is set to PUBLIC role) submits a crafted bound parameter such as key = 'a"},{"Key":"prod/secret.txt' to POST /api/v2/queries/:queryId. Because the delete field is JSON-typed but excluded from the escaping allowlist, the value breaks out of its string position and injects an extra {Key} entry, causing client.deleteObjects to remove attacker-chosen objects from the bucket. A working proof of concept is published in the GHSA advisory; the Google Sheets variant similarly overrides row columns at lower impact. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Structural JSON injection in Budibase (npm @budibase/server before 4.0.0) lets an attacker who can invoke a configured S3 delete or Google Sheets row query break out of the intended string position in a template parameter and inject extra JSON structure, causing the S3 connector to delete attacker-chosen objects in the configured bucket. Per the CVSS vector the attacker is a low-privilege authenticated user (PR:L), though the advisory documents that a query assigned a PUBLIC role is reachable without authentication; the Google Sheets variant is narrower, limited to overriding columns in the row being inserted or updated, with no cross-record read. The advisory publishes a concrete proof-of-concept request, and the issue is fixed in 4.0.0; there is no confirmed active exploitation (not in CISA KEV), and the published PoC is a reference that is not verified as working exploit code.
RemediationAI
Vendor-released patch: upgrade Budibase to 4.0.0, which the advisory lists as the fixed version for npm @budibase/server (affected <= 3.40.1); the advisory notes that updating is the complete fix because the raw-enrichment path remains present in 3.40.1 and no post-3.40.1 backport was identified. Installation guidance and the full write-up are at https://github.com/Budibase/budibase/security/advisories/GHSA-7h79-cmq7-455p, with the VulnCheck advisory at https://www.vulncheck.com/advisories/budibase-before-4.0.0-json-injection-via-s3-delete-and-google-sheets-query-fields; the advisory's maintainer-side fix is to drive the JSON-escaping allowlist from QueryType.JSON so delete, row and rows are structurally escaped before JSON.parse (or to schema-validate the parsed structure, e.g. a single {Key} entry for S3 delete). Until upgrading is possible, the advisory's bypass evidence identifies one exposure-limiting lever: an affected S3 delete or Sheets row query assigned a PUBLIC role is reachable unauthenticated via POST /api/v2/queries/:queryId (PUBLIC short-circuit at authorized.ts:145-152), so those query role assignments should be reviewed and narrowed to the minimum role, bearing in mind that this only removes the unauthenticated path - a low-privilege authenticated user with access to the query can still reach the sink, and validateQueryInputs will not filter the JSON metacharacters needed for the breakout.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is classed CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) and lives in Budibase's server-side query executor. In enrichContextObject, a string field whose key is not in the hardcoded JSON_TEMPLATE_FIELDS allowlist (queries.ts:19, containing only json, customData and requestBody) is enriched with the raw, noEscaping template path instead of JSON-escaped substitution. Because the S3 delete field and the Sheets row/rows fields are declared QueryType.JSON but are top-level string fields outside that allowlist, attacker-controlled parameters are substituted verbatim into the template string and then handed to JSON.parse - at packages/server/src/integrations/s3.ts:284 (JSON.parse(query.delete)) and packages/server/src/integrations/googlesheets.ts:564/695 (JSON.parse(query.row)). The trailing enrichContext re-parse loop (queries.ts:208-222) only re-parses the three allowlisted names, so delete and row remain raw-substituted strings. validateQueryInputs does not block the required JSON metacharacters (it only blocks {{ }}), so a value such as a"},{"Key":"prod/secret.txt breaks out of the string literal and adds an extra {Key} entry to the delete-objects list passed to client.deleteObjects; the same structural breakout overrides Sheets row columns. The advisory's suggested code fix is to derive the escaping allowlist from QueryType.JSON rather than the hardcoded three-name set, or to validate the parsed structure against the expected schema. Affected package is npm @budibase/server, introduced structure verified as present through 3.40.1.
Know when Budibase gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
Remote endpoint, no user interaction, low-privilege query invocation (PR:L; can be PUBLIC in some configs); arbitrary S3 object deletion gives I:H/A:H with no confidentiality loss (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
Budibase before 4.0.0 contains a JSON injection vulnerability that allows attackers to inject JSON structure into S3 delete and Google Sheets row fields via unescaped template parameters. Attackers can submit crafted parameters to the queries endpoint to add extra Key entries, deleting chosen S3 objects or overriding Sheets row columns.
Technical POC Analysis
CWE-943 (Improper Neutralization of Special Elements in Data Query Logic), manifesting as structural JSON injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in Budibase's server component could allow low-privileged or even unauthenticated users to manipulate S3 delete operations, potentially erasing arbitrary objects in configured buckets. This threatens data integrity and availability for affected Budibase deployments, requiring immediate leadership attention to assess exposure and mitigate risk.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling or restricting S3 delete queries, removing PUBLIC role assignments from sensitive queries, restricting network access to Budibase servers, and applying least-privilege permissions to S3 buckets to limit deletion scope.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
EUVD-2026-136572
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB