Description
The twofactor_gauthenticator plugin for Roundcube is vulnerable to 2fa authentication bypass by spoofed client address headers. Due to the lack of validation of the Client-IP and X-Forwarded-For headers, an attacker who obtains user's password can spoof a whitelisted IP address, resulting in the second factor being bypassed.




This issue was fixed in commit 4640889.
Published: 2026-10-27
Score: 6.3 Medium
EPSS: n/a
KEV: No
Impact: Authentication bypass via spoofed client IP headers
Action: Apply patch
AI Analysis

Impact

The twofactor_gauthenticator plugin for Roundcube allows attackers who have stolen a user’s password to bypass the second factor authentication by sending forged Client‑IP and X‑Forwarded‑For headers. This flaw enables the attacker to impersonate a whitelisted IP address, thereby gaining authorized access without the 2‑factor token. The vulnerability is an authentication bypass (CWE‑290) and can compromise user accounts and any data the attacker can access with those credentials.

Affected Systems

The affected product is the twofactor_gauthenticator plugin by alexandregz for the Roundcube webmail application. No specific version range is provided, but the issue existed prior to the fix released in commit 4640889.

Risk and Exploitability

With a CVSS score of 6.3, the flaw is classified as medium severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the attack requires knowledge of the user’s password and the ability to craft HTTP headers, the likelihood of exploitation is moderate. The attack vector is inferred to be remote, originating from an external client that can reach the Roundcube instance.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade twofactor_gauthenticator to version containing commit 4640889, which removes the header spoofing flaw.
  • If an upgrade is not yet possible, temporarily disable or reconfigure the plugin so that it no longer trusts the Client‑IP or X‑Forwarded‑For headers provided by external clients.
  • If disabling the plugin is impractical, apply network controls to restrict inbound connections to trusted IP addresses only, ensuring that only legitimate clients can reach the Roundcube instance.

Generated by OpenCVE AI on October 27, 2026 at 10:27 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 2fa authentication bypass by spoofed client address headers. Due to the lack of validation of the Client-IP and X-Forwarded-For headers, an attacker who obtains user's password can spoof a whitelisted IP address, resulting in the second factor being bypassed. This issue was fixed in commit 4640889.
Title Authentication bypass by spoofing in twofactor_gauthenticator
First Time appeared Alexandregz
Alexandregz twofactor Gauthenticator
Weaknesses CWE-290
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:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Alexandregz Twofactor Gauthenticator
cve-icon MITRE

Status: PUBLISHED

Assigner: CERT-PL

Published:

Updated: 2026-10-27T09:36:01.938Z

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

Link: CVE-2026-107147

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-107147

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-290

    Authentication Bypass by Spoofing