Summary
CVE-2026-121939 is an authentication bypass (CWE-290, Authentication Bypass by Spoofing) in Databasement versions before 1.10.9. The OIDC login flow links identities to local users by email without checking the email_verified claim, which allows account takeover, including of administrator accounts. The CVE record rates it Critical (CVSS v4.0 9.2).
Technical details
- Root cause:
OAuthService::findOrCreateLocalUser()links an incoming OIDC identity to an existing local user by matching email address. It does not check the identity provider’semail_verifiedclaim. - Trigger conditions: OIDC login is enabled, the identity provider allows self-registration or unverified email claims, and
auto_link_by_emailistrue(the default). - Attack vector: Network. An attacker registers an account at the identity provider using the victim’s email address, then signs in to Databasement through OIDC. No prior Databasement account and no victim interaction are needed.
- Impact: Full compromise of the victim’s account, including super-admin privileges. This gives access to stored database credentials and sensitive operations. The advisory says the victim’s password is nullified during linking, and that access persists even if the victim resets their password.
Affected software
- Databasement (David-Crty/databasement) versions 0 through 1.10.8, meaning all versions before 1.10.9
Severity
- CVSS v4.0: 9.2 (Critical),
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - CVSS v3.1: 8.1 (High),
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade Databasement to version 1.10.9 or later.
- If you cannot patch: set
OAUTH_AUTO_LINK_BY_EMAIL=falseto disable OIDC auto-linking and require manual account linking. - Check your identity provider’s policy on self-registration and unverified email claims.

