All vulnerabilities

Servers and applications

CVE-2026-46424

Missing Cache Invalidation on Public API Role Unassignment Allows Revoked Users to Retain Privileges for Up to 1 Hour

Severity
Medium 4.2
Published
14 May 2026
Last changed
14 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.38.2
Exploit chance
0.2% in the next 30 daysHigher than 5% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Improper privilege management (CWE-269)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Also known as
GHSA-6vp2-6r7m-2jvx
Sources
Project advisories (GitHub)

Description

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.

The root cause is an inconsistency between the UserDB.save() and UserDB.bulkUpdate() code paths.

Vulnerable path — packages/pro/src/sdk/publicApi/roles.ts:49-75:

bulkUpdate delegates to bulkUpdateGlobalUsers() at packages/backend-core/src/users/users.ts:82-85:

This writes directly to CouchDB with no cache invalidation.

Correct path — packages/backend-core/src/users/db.ts:355 (used by admin UI):

Cache configuration — packages/backend-core/src/cache/user.ts:11:

Authentication middleware — packages/backend-core/src/middleware/authenticated.ts:153-160:

From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.38.2

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References