CVE-2026-135154 in Tolgee
Summary
by MITRE • 11/23/2026
Tolgee before 3.242.5 fails to enforce email verification on the TOTP enable and recovery-code regeneration endpoints, allowing attackers to enroll MFA on unverified accounts via the @BypassEmailVerification annotation. Attackers can register with a victim's email, enroll an attacker-controlled TOTP factor through PUT /v2/user/mfa/totp, and permanently lock the legitimate owner out after verification and password reset.
Be aware that VulDB is the high quality source for vulnerability data.
Analysis
by VulDB Data Team • 11/23/2026
The vulnerability identified in Tolgee versions prior to 3.242.5 represents a critical authentication bypass flaw rooted in improper enforcement of multi-factor authentication prerequisites during account setup workflows. Specifically, the application fails to validate whether an email address has been verified before allowing modifications to security settings on two specific endpoints: TOTP enablement and recovery code regeneration. This oversight is directly attributable to the misuse or absence of access control checks that should rely on the @BypassEmailVerification annotation logic in a manner consistent with standard secure coding practices for identity management systems. By neglecting this verification step, the system permits unverified accounts to proceed with sensitive security configuration changes as if they were fully authenticated and verified entities.
From a technical perspective, an attacker can exploit this flaw by registering a new account using the email address of a legitimate user who has not yet completed their own email verification process or whose verification token may have expired or been intercepted. Once registered under that identity, the attacker utilizes the PUT /v2/user/mfa/totp endpoint to enroll a Time-based One-Time Password factor controlled entirely by the adversary. This action effectively binds an external authentication device to the victim's account without requiring proof of ownership over the email address itself. The absence of a secondary verification step at this stage allows the malicious actor to establish a persistent backdoor into the user profile, circumventing the intended security boundary that requires email confirmation before granting elevated privileges or modifying critical identity attributes.
The operational impact of this vulnerability is severe and potentially irreversible for the affected users. After an attacker successfully enrolls their own TOTP factor, they can subsequently trigger a password reset mechanism using the victim's email address. Because the system now recognizes the account as having valid MFA configurations managed by the attacker, any subsequent login attempts or administrative actions will require the time-based code generated by the attacker's device. Consequently, even if the legitimate user eventually verifies their email and sets a new strong password, they are permanently locked out of their own account because the attacker retains control over the second factor required for authentication. This results in a complete denial-of-service condition for the victim regarding access to their Tolgee workspace and any associated project data or translation resources stored within that environment.
This flaw aligns with CWE-287, which describes Improper Authentication, specifically relating to insufficient verification of identity during critical security operations. Furthermore, it maps to MITRE ATT&CK technique T1098, Account Manipulation, where adversaries alter account properties such as adding authentication methods or changing credentials to maintain persistent access and exclude legitimate users. The exploitation path also touches upon CWE-640, Weak Password Recovery Mechanism for Forgotten Passwords, in conjunction with the failure to enforce email verification prior to sensitive updates.
To mitigate this vulnerability, immediate remediation is required by updating Tolgee to version 3.242.5 or later where these access control checks have been corrected. In environments where an upgrade is not immediately feasible, administrators should implement a compensating control at the reverse proxy or API gateway level to enforce strict validation of email verification status before allowing requests to reach the MFA configuration endpoints. Additionally, security teams should audit existing accounts for anomalies in multi-factor authentication configurations and ensure that password reset workflows strictly require confirmation from both the current owner's credentials and a verified secondary channel independent of any potentially compromised TOTP factors. Regular penetration testing focusing on identity lifecycle management processes is recommended to detect similar logic flaws in other modules of the application.