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.
Published: 2026-10-27
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Second‑factor bypass leading to unauthorized access
Action: Apply Patch
AI Analysis

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.

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

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 yet.

History

Tue, 27 Oct 2026 09:45:00 +0000

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'}


Subscriptions

Alexandregz Twofactor Gauthenticator
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-10-27T09:34:36.692Z

Reserved: 2026-10-07T08:44:03.177Z

Link: CVE-2026-107145

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-27T10:16:54.030

Modified: 2026-10-27T10:16:54.030

Link: CVE-2026-107145

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-27T10:30:11Z

Weaknesses
  • CWE-307

    Improper Restriction of Excessive Authentication Attempts