CVE-2026-46426

Budibase: Unrestricted Upload of File with Dangerous Type

Published May 27, 2026 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
Description
Budibase is an open-source low-code platform. Prior to 3.38.2, the file upload endpoint POST /api/attachments/process does not enforce active-content restrictions for authenticated users. The checks for dangerous file extensions are conditionally wrapped inside if (isPublicUser) or if (isPublicUser || !env.SELF_HOSTED), meaning any authenticated builder can upload executable web content — SVG files with inline <script> tags, HTML pages with JavaScript, .js modules — which are then stored in the object store (MinIO/S3) with their correct MIME types. When the resulting signed URL is opened by any app user, the browser executes the payload. Impact is persistent stored XSS over all application end users. This vulnerability is fixed in 3.38.2.

Analysis

AI-generated

Technical impact

Budibase, an open‑source low‑code platform, stored file uploads without enforcing active‑content restrictions for authenticated users until release 3.38.2. The validation logic for dangerous file extensions was unintentionally wrapped inside conditions that apply only to public users, allowing authenticated builders to upload executable web content such as SVG files containing <script> tags, HTML pages with JavaScript, or .js modules. These files are then stored with the correct MIME types in the object store. When any application user opens the resulting signed URL, the browser executes the embedded script, producing a persistent stored cross‑site scripting vulnerability that affects all users of the application.

Affected Systems

Budibase’s low‑code platform is affected when running versions prior to 3.38.2. Users deploying 3.38.1 or earlier are susceptible to the flaw described above. The issue is fixed in the 3.38.2 release.

Risk and Exploitability

According to the CVSS score of 7.6, the vulnerability carries a high severity rating. The EPSS score is not available, and the vulnerability is not listed in CISA’s KEV catalog, indicating no known widespread exploitation yet. The likely attack vector requires an authenticated Builder role, which the attacker would use to upload a malicious file to the /api/attachments/process endpoint. Once uploaded, the file is stored and served to any app user, causing the browser to execute the payload. Because the vulnerability persists in the stored data, any future user accessing the same attachment suffers the XSS effect.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Budibase to version 3.38.2 or later, where the file type validation has been corrected.
  • If an immediate update is not possible, restrict file upload permissions so that only trusted administrators can upload arbitrary content, removing the Builder role from uploading dangerous files.
  • Implement server‑side MIME type and file‑extension checks to reject dangerous file types such as .svg, .html, and .js before storing them.

Generated by OpenCVE AI on May 27, 2026 at 19:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-82rc-gxrg-v4gf Budibase: Unrestricted Upload of File with Dangerous Type
History
Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Budibase is an open-source low-code platform. Prior to 3.38.2, the file upload endpoint POST /api/attachments/process does not enforce active-content restrictions for authenticated users. The checks for dangerous file extensions are conditionally wrapped inside if (isPublicUser) or if (isPublicUser || !env.SELF_HOSTED), meaning any authenticated builder can upload executable web content — SVG files with inline <script> tags, HTML pages with JavaScript, .js modules — which are then stored in the object store (MinIO/S3) with their correct MIME types. When the resulting signed URL is opened by any app user, the browser executes the payload. Impact is persistent stored XSS over all application end users. This vulnerability is fixed in 3.38.2.
Title Budibase: Unrestricted Upload of File with Dangerous Type
Weaknesses CWE-434
CWE-79
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}

Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 27, 2026, 6:02 PM
Reserved
May 13, 2026, 10:18 PM
Status
Deferred
Published
May 27, 2026, 6:16 PM
Modified
Jun 17, 2026, 10:53 AM