Budibase
Budibase: OIDC SSO account takeover: incoming identity linked by email without checking email_verified
Budibase is an open-source low-code platform. Prior to 3.39.30, the OIDC flow in packages/backend-core/src/middleware/passport/sso/oidc.ts resolved an email without getEmailVerified or an email_verified requirement, and packages/backend-core/src/middleware/passport/sso/sso.ts then used users.getGlobalUserByEmail as a fallback account-linking key. An attacker who can authenticate through a configured identity provider that asserts a victim email as unverified can have a fresh provider identity merged into the victim Budibase account and inherit the victim roles. This issue is fixed in version 3.39.30.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.39.30
Fixed in 3.39.30
Mitigation
Upgrade budibase to 3.39.30 or later.
References
- Vendor advisory github.com/Budibase/budibase/security/advisori…
- Patch github.com/Budibase/budibase/pull/19173
- Patch github.com/Budibase/budibase/commit/9ecd0048d9…
1 more
- Release notes github.com/Budibase/budibase/releases/tag/3.39…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.