CVE-2026-107145

Lack of rate-limiting in 2fa code check mechanism in twofactor_gauthenticator

Published Oct 27, 2026 CVSS 4.0 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
The twofactor_gauthenticator plugin for Roundcube is vulnerable to brute-forcing of the second-factor code. Due to the lack of rate limiting, an attacker who obtains user's password can submit arbitrary 6-digit codes, resulting in second-factor bypass and unauthorized access to the system.




This issue was fixed in commit 4640889.

Analysis

AI-generated

Technical impact

The vulnerability stems from a missing rate‑limiting mechanism in the twofactor_gauthenticator plugin for Roundcube, allowing an attacker who has acquired a user’s password to submit arbitrary 6‑digit authentication codes until a valid one is found. This bypasses the second‑factor protection and permits unauthorized access to the mailbox and underlying system. The weakness corresponds to CWE‑307: Authentication Bypass by Login Token Manipulation.

Affected Systems

The affected product is the twofactor_gauthenticator plugin developed by alexandregz for the Roundcube webmail interface. No specific version information is provided, so all releases before the fix in commit 4640889 are considered vulnerable.

Risk and Exploitability

The CVSS score of 6.3 indicates a moderate level of severity. No EPSS score is available, and the vulnerability is not listed in CISA’s KEV catalog, suggesting limited observable exploitation. However, an attacker who obtains valid credentials can repeatedly attempt the 6‑digit code without restriction, which could eventually succeed given the short code length. The likely attack vector is credential‑based remote access, originating from compromised user accounts or phishing campaigns.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the twofactor_gauthenticator plugin to commit 4640889 or a later release that incorporates the rate‑limiting fix.
  • If no patch is immediately available, configure external controls such as firewall or application‑level rate limiting to block excessive 2FA code attempts per user session.
  • Enforce strong password policies and regular password rotation, and consider supplementing 2FA with additional factors or biometric authentication to reduce reliance on a single code verification.

Generated by OpenCVE AI on October 27, 2026 at 10:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The twofactor_gauthenticator plugin for Roundcube is vulnerable to brute-forcing of the second-factor code. Due to the lack of rate limiting, an attacker who obtains user's password can submit arbitrary 6-digit codes, resulting in second-factor bypass and unauthorized access to the system. This issue was fixed in commit 4640889.
Title Lack of rate-limiting in 2fa code check mechanism in twofactor_gauthenticator
First Time appeared Alexandregz
Alexandregz twofactor Gauthenticator
Weaknesses CWE-307
CPEs cpe:2.3:a:alexandregz:twofactor_gauthenticator:*:*:*:*:*:*:*:*
Vendors & Products Alexandregz
Alexandregz twofactor Gauthenticator
References
Metrics cvssV4_0

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

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts

Sources

Status
PUBLISHED
Assigner
CERT-PL
Published
Updated
Nov 4, 2026, 2:58 PM
Reserved
Oct 7, 2026, 8:44 AM
Status
Awaiting Analysis
Published
Oct 27, 2026, 10:16 AM
Modified
Nov 4, 2026, 3:17 PM