Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. budibase
  4. ›
  5. CVE-2026-46426

CVE-2026-46426: Budibase: Unrestricted Upload of File with Dangerous Type

May 19, 2026 (updated June 8, 2026)

The file upload endpoint POST /api/attachments/process does not enforce active-content restrictions for authenticated users. The checks for dangerous file extensions (html, svg, js, php, etc.) 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 (image/svg+xml, text/html, application/javascript). 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.

References

  • github.com/Budibase/budibase/releases/tag/3.38.2
  • github.com/Budibase/budibase/security/advisories/GHSA-82rc-gxrg-v4gf
  • github.com/advisories/GHSA-82rc-gxrg-v4gf
  • nvd.nist.gov/vuln/detail/CVE-2026-46426

Code Behaviors & Features

Detect and mitigate CVE-2026-46426 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.38.2

Fixed versions

  • 3.38.2

Solution

Upgrade to version 3.38.2 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/budibase/CVE-2026-46426.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:24:07 +0000.