CVE-2026-52893

Wekan: OIDC Account Takeover via Unconditional Email-Based Account Merge in onCreateUser hook

Published Jul 15, 2026 CVSS 4.0 · 9.2 Critical EPSS < 1% KEV · Not listed
Description
Wekan is open source kanban built with Meteor. Prior to 9.32, the Wekan Accounts.onCreateUser hook in server/models/users.js merges OIDC logins into existing accounts when the OIDC email or username matches an existing Wekan user, without verifying ownership or checking email_verified. An attacker using an OIDC provider account with a victim's email or username can cause Wekan to merge the attacker's OIDC credentials into the victim account and then log in as that account. This issue is fixed in version 9.32.

Analysis

AI-generated

Technical impact

Wekan is an open‑source kanban application built with Meteor. Prior to version 9.32, the Accounts.onCreateUser hook in server/models/users.js merges OpenID Connect (OIDC) logins into existing Wekan accounts when the OIDC email or username matches an existing user, without verifying ownership or checking email_verified. This vulnerability is an authentication bypass (CWE‑287). An attacker who uses an OIDC provider account with a victim’s email or username can cause Wekan to merge the attacker’s OIDC credentials into the victim account and then log in as that account. This issue is fixed in version 9.32.

Affected Systems

The vulnerability affects all installations of Wekan running a version earlier than 9.32. Administrators of open‑source deployments should examine the Wekan repository or their deployed instance to determine if the server/models/users.js onCreateUser hook includes the unconditional merge logic described in the advisory.

Risk and Exploitability

The CVSS score of 9.2 indicates a critical impact, yet the EPSS score of less than 1% shows a low probability of exploitation at present. The issue is not listed in the CISA KEV catalog. An attacker would need access to an OIDC provider and a user account that matches the victim’s email or username to trigger the merge, suggesting the vector is indirect but feasible for attackers with control over any OIDC identity provider.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Wekan to version 9.32 or later, which removes the unconditional OIDC merge logic.
  • If an immediate upgrade is not possible, modify the server/models/users.js onCreateUser hook to require email verification before merging or add a check that the OIDC email matches the verified email address.
  • Enable monitoring of authentication logs to detect any unexpected account merges and verify that only legitimate OIDC accounts are linked to user accounts.

Generated by OpenCVE AI on July 31, 2026 at 02:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wekan
Wekan wekan
Vendors & Products Wekan
Wekan wekan
Type Values Removed Values Added
Description Wekan is open source kanban built with Meteor. Prior to 9.32, the Wekan Accounts.onCreateUser hook in server/models/users.js merges OIDC logins into existing accounts when the OIDC email or username matches an existing Wekan user, without verifying ownership or checking email_verified. An attacker using an OIDC provider account with a victim's email or username can cause Wekan to merge the attacker's OIDC credentials into the victim account and then log in as that account. This issue is fixed in version 9.32.
Title Wekan: OIDC Account Takeover via Unconditional Email-Based Account Merge in onCreateUser hook
Weaknesses CWE-287
References
Metrics cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jul 18, 2026, 2:35 AM
Reserved
Jun 8, 2026, 9:44 PM
Status
Deferred
Published
Jul 15, 2026, 10:17 PM
Modified
Jul 18, 2026, 3:16 AM