Skip to main content

Databasement EUVDEUVD-2026-116896

| CVE-2026-121939 CRITICAL
Authentication Bypass by Spoofing (CWE-290)
2026-11-04 VulnCheck GHSA-3962-28xr-cf4g
9.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register IdP account using victim's email
  2. Delivery
    Start OIDC login to Databasement
  3. Exploit
    Email auto-link skips email_verified check
  4. Execution
    Logged in as super-admin, victim password nulled
  5. Impact
    Read DB credentials, snapshots, trigger restores

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires OIDC login enabled (OAUTH_OIDC_ENABLED=true) with auto_link_by_email left at its default true, AND an identity provider where a user can hold an account bearing someone else's email that the IdP reports as email_verified:false or with no email_verified claim - e.g. Keycloak with self-registration on and email verification off, or any IdP permitting self-service email changes without re-verification; it also applies to local accounts whose address is not yet claimed on the IdP (first claimant on the IdP wins). The attacker needs no Databasement account and no action from the victim, only an IdP account with the victim's email. Limiting factor explicitly stated by the vendor: deployments where only administrators create IdP users and users cannot change their own email are not exploitable this way.

Impact

Signals mostly align toward a genuine high priority, with important preconditions. The vendor CVSS 4.0 base score is 9.2 (Critical) with AV:N/PR:N/UI:N - remote, unauthenticated on the Databasement side, and no victim interaction - and full VC:H/VI:H/VA:H impact because success yields super-admin takeover. The AC:H and AT:P metrics correctly reflect that the attack is not universal: it depends on the configured OIDC identity provider allowing a user to hold an account with an email they do not own (email_verified:false or a missing claim). The vuln.today Decision label is act_now and the finding was reported by VulnCheck with a vendor patch available, reinforcing urgency. However, there is NO CISA KEV listing, so this is not confirmed as actively exploited, and no EPSS score was provided, so automated-exploitation probability cannot be compared. A detailed, reproducible proof-of-concept (using dex as the IdP) is published in the GHSA advisory, which raises practical risk even without KEV. Net: for deployments that have OIDC enabled against a permissive IdP this is an act-now account-takeover issue; for deployments where only administrators provision IdP users and users cannot change their email, it is not exploitable this way. Treat as high priority conditioned on the IdP trust model rather than a universal emergency across all installs.

Exploit ScenarioDerived

An attacker registers an account on the organization's configured OIDC provider using the Databasement super-admin's email address, which the IdP reports as email_verified:false. The attacker then starts the OIDC login flow to Databasement; because findOrCreateLocalUser() links by matching email without checking the verified claim, the attacker is logged straight in as the super-admin, the victim's local password is set to NULL, and the attacker's OIDC identity stays linked even after a password reset. A step-by-step PoC reproducing this with dex is published in the GHSA advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 04, 2026

Account takeover of any Databasement account, including the super-admin, is possible before 1.10.9 whenever generic OIDC login is enabled. OAuthService::findOrCreateLocalUser() links an incoming OIDC identity to an existing local user purely on the email claim, ignoring the identity provider's email_verified value, so an attacker who holds an IdP account carrying a victim's unverified address is logged in as that victim, the victim's local password is set to NULL, and the attacker's provider subject is stored in oauth_identities so the access survives a subsequent password reset. The vendor advisory includes a complete proof-of-concept reproduction against dex; there is no KEV listing and no confirmed in-the-wild exploitation, but the risk label is act_now because the only prerequisite on the attacker side is an IdP account bearing the victim's unverified email, with no Databasement credential required.

RemediationAI

Vendor-released patch: upgrade to Databasement 1.10.9 (release https://github.com/David-Crty/databasement/releases/tag/v1.10.9, commit b7f4079c02b7ce3f1cf2844de182e809636c3382), which adds an ensureEmailIsVerified() check so an OIDC login is only auto-linked when the provider sends email_verified as true, refuses the link when the claim is explicitly false, refuses it when the claim is absent unless the new OAUTH_OIDC_TRUST_EMAIL_WITHOUT_VERIFIED_CLAIM is set to true (default false - some providers such as Microsoft Entra ID send no claim and will be refused until an administrator opts in), and no longer clears the local password when linking. Before patching, the actionable workaround is to disable generic OIDC entirely (OAUTH_OIDC_ENABLED=false) or to set OAUTH_AUTO_LINK_BY_EMAIL=false so no OIDC identity is ever attached to an existing local account, at the cost of requiring users to sign in with local credentials or to be linked manually. Administrators should also tighten the IdP side by disabling self-registration or enforcing email verification with re-verification on email change, which removes the prerequisite rather than the vulnerable code path. Because the patch only blocks new links, existing deployments should audit the oauth_identities table for provider_user_id values that do not correspond to known IdP accounts and remove suspicious rows, since returning logins are matched on provider user ID and would otherwise continue to work after the upgrade.

Affected VersionsENISA

Databasement 0 <1.10.9

Affected Packages

euvd databasement fix: 1.10.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Databasement is a Laravel/PHP application that uses Laravel Socialite with the kovah/laravel-socialite-oidc v0.8.0 provider for generic OIDC single sign-on. The flaw is a CWE-290 authentication bypass by spoofing (the advisory also classifies it CWE-287): OIDC treats the email claim as a self-asserted string, with ownership of the mailbox reported separately in email_verified, and OIDC Core section 5.7 explicitly warns against using email alone as a unique user identifier. The Socialite OIDC provider passes the full claim set through getRaw() and does not itself enforce the flag, and Databasement's linking code in app/Services/OAuthService.php (lines 55-68 in v1.10.8) never reads getRaw()['email_verified'] - an email match alone is sufficient, and config/oauth.php sets auto_link_by_email from OAUTH_AUTO_LINK_BY_EMAIL with a default of true, so no configuration change is needed to be exposed. On linking, the existing account's password is set to null and the attacker's sub is written to oauth_identities; because later logins resolve the identity by provider_user_id first, the link persists after a victim password reset. A related defect unconditionally sets email_verified_at = now() for users created through OAuth regardless of what the IdP reported. The specific trigger is the OIDC callback for a provider account whose email string matches an existing local user; the deployment preconditions that raise attack complexity are the requirement for an IdP where a user can hold an address they do not control and that reports it as email_verified:false or omits the claim (for example Keycloak with self-registration enabled and email verification disabled, or an IdP allowing self-service email edits without re-verification), plus unclaimed local accounts whose address nobody has yet taken on the IdP.

Know when Databasement gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 8.1 HIGH

AC:H because success depends on an IdP that permits unverified/self-chosen email ownership; PR:N/UI:N as no Databasement credentials or victim action are needed; super-admin takeover gives C/I/A:H.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Databasement before 1.10.9 contains an authentication bypass vulnerability in OAuthService::findOrCreateLocalUser() that links OIDC identities to local users by email without checking email_verified. Attackers can register an identity provider account with a victim's unverified email to log in as any user, including the super-admin, and retain access after password resets.

Technical POC Analysis

CWE-290 Authentication Bypass by Spoofing.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Databasement versions prior to 1.10.9 are vulnerable to account takeover via OIDC misconfiguration, allowing an attacker to impersonate any user, including the super-admin, by exploiting unverified email claims. This poses a critical risk to organizational data integrity and access control, as a single malicious IdP account could compromise the entire platform.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 54% exploitable
Prevalence
Rare
independent single-maintainer self-hosted tool, tiny deployment footprint
Social Media
6
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy