Description
Budibase is an open-source low-code platform. Prior to 3.38.2, the public API role unassignment endpoint (POST /api/public/v1/roles/unassign) updates user documents in CouchDB but does not invalidate the corresponding Redis user cache entries. Because the authentication middleware resolves user identity and permissions from this cache (TTL: 3600 seconds), a user whose admin, builder, or app-level roles have been revoked via the public API retains those privileges for up to 1 hour. This vulnerability is fixed in 3.38.2.
Published: 2026-05-27
Score: 4.2 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A missing cache invalidation on Budibase’s public API role unassignment endpoint means that when an admin, builder or app‑level role is removed via POST /api/public/v1/roles/unassign, the updated user document in CouchDB is not reflected in the Redis cache that the authentication middleware consults for permission resolution. Because the cache entry remains valid for 3600 seconds, an affected user keeps the revoked privileges for up to an hour, even after the unassignment request has succeeded. This flaw is a typical privilege escalation condition, identified as CWE‑269, where the system fails to revoke privileges promptly after a change in user authorization data.

Affected Systems

Budibase open‑source low‑code platform versions prior to 3.38.2 are affected. The vulnerability was fixed in release 3.38.2, as announced by the Budibase team and documented in their GitHub release notes and security advisory.

Risk and Exploitability

The CVSS score of 4.2 indicates low severity, and the EPSS score is not available, suggesting a low probability of exploitation at this time. Budibase is not listed in the CISA KEV catalog, further supporting a low threat level. However, the attack vector is likely through the public API; any authenticated user who had privileged roles revoked will experience a privilege retention window. An attacker could deliberately revoke themselves or a compromised account's roles to exploit this window, but doing so requires valid credentials, limiting the attack surface.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Budibase to version 3.38.2 or later, which includes the cache invalidation fix for role unassignment.
  • If an upgrade is delayed, clear the relevant Redis cache entries for affected users as a temporary mitigation.
  • After applying the fix, verify that no stale cache entries remain and monitor role assignments to ensure proper permission updates.

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-6vp2-6r7m-2jvx Budibase: Missing Cache Invalidation on Public API Role Unassignment Allows Revoked Users to Retain Privileges for Up to 1 Hour
History

Thu, 28 May 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 28 May 2026 03:30:00 +0000

Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase

Wed, 27 May 2026 17:45:00 +0000

Type Values Removed Values Added
Description Budibase is an open-source low-code platform. Prior to 3.38.2, the public API role unassignment endpoint (POST /api/public/v1/roles/unassign) updates user documents in CouchDB but does not invalidate the corresponding Redis user cache entries. Because the authentication middleware resolves user identity and permissions from this cache (TTL: 3600 seconds), a user whose admin, builder, or app-level roles have been revoked via the public API retains those privileges for up to 1 hour. This vulnerability is fixed in 3.38.2.
Title Budibase: Missing Cache Invalidation on Public API Role Unassignment Allows Revoked Users to Retain Privileges for Up to 1 Hour
Weaknesses CWE-269
References
Metrics cvssV3_1

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


Subscriptions

Budibase Budibase
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-28T14:08:42.106Z

Reserved: 2026-05-13T22:18:22.829Z

Link: CVE-2026-46424

cve-icon Vulnrichment

Updated: 2026-05-28T14:08:20.735Z

cve-icon NVD

Status : Deferred

Published: 2026-05-27T18:16:26.150

Modified: 2026-05-28T16:16:27.593

Link: CVE-2026-46424

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-28T03:15:05Z

Weaknesses
  • CWE-269

    Improper Privilege Management