Skip to main content

Roundcube twofactor_gauthenticator EUVDEUVD-2026-110649

| CVE-2026-107147 MEDIUM
Authentication Bypass by Spoofing (CWE-290)
2026-10-27 CERT-PL GHSA-f37x-h4hh-7q49
6.3
CVSS 4.0 · Vendor: CERT-PL
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain victim's Roundcube password
  2. Delivery
    Identify a whitelisted IP address
  3. Exploit
    Forge Client-IP / X-Forwarded-For header
  4. Execution
    Server skips 2FA for 'trusted' IP
  5. Impact
    Authenticated access to victim mailbox

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Anti-spoofing controls
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Three concrete conditions must all hold: (1) the attacker already possesses the victim's valid Roundcube account password, since this bypasses only the second factor; (2) the twofactor_gauthenticator IP-whitelist/trusted-address feature is configured so that 2FA is skipped for whitelisted source IPs - installations not using IP whitelisting are not exploitable; and (3) the deployment accepts and trusts attacker-supplied Client-IP or X-Forwarded-For headers (e.g., no reverse proxy that strips/overwrites them), allowing the attacker to spoof a whitelisted address. Limiting factors that reduce realistic risk: the mandatory prior password compromise, the non-default whitelist configuration requirement, and AC:H reflecting that the attacker must know a valid whitelisted IP value.

Impact

This is a medium-severity authentication-bypass (CWE-290) with multiple signals pointing to limited, conditional real-world risk rather than an emergency. The CVSS 4.0 base score is 6.3 with AV:N/AC:H/AT:N/PR:N/UI:N and only Low confidentiality/integrity impact (VC:L/VI:L/VA:N), and the vuln.today Decision label is 'this_month' - a routine-but-timely priority, not act_now or emergency. EPSS is 0.48% (41st percentile), indicating low modeled exploitation probability, and there is no CISA KEV listing and no public exploit code referenced. The most important caveat is a signal conflict: the CVSS vector encodes PR:N (nominally unauthenticated), but the description explicitly states the attacker must first obtain the user's password, so exploitation is NOT truly pre-authentication in practice - treat the PR:N as understating the real prerequisite, which is why AC:H is justified. Exploitation is further gated on the plugin's IP-whitelist feature being enabled, so default/non-whitelisting deployments are not affected. Net: a legitimate issue to patch on a normal cycle, not a high-CVSS-but-hollow finding, but also not a drop-everything priority given low EPSS, no KEV, no POC, and the stacked preconditions.

Exploit ScenarioDerived

An attacker who has already compromised a Roundcube user's password (e.g., via phishing or credential reuse) targets an installation where the twofactor_gauthenticator IP-whitelist feature is enabled. Because the plugin trusts the Client-IP and X-Forwarded-For request headers without validation, the attacker sends a login request with a forged header matching a whitelisted IP, causing the second factor to be skipped and granting mailbox access. No public exploit code is referenced, but the technique (header spoofing) is low-effort once the preconditions are met.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 28, 2026

Second-factor bypass in the Roundcube twofactor_gauthenticator plugin allows an attacker who already holds a victim's account password to skip the 2FA prompt by spoofing a whitelisted source address through attacker-controlled Client-IP or X-Forwarded-For headers. Exploitation is conditional: the plugin's IP-whitelist/trusted-address feature must be configured to skip 2FA for certain addresses, and the deployment must accept and trust client-supplied forwarding headers rather than having a reverse proxy strip or overwrite them. Severity is medium (CVSS 6.3, CWE-290), EPSS is low at 0.48% (41st percentile), there is no CISA KEV listing and no public exploit identified at time of analysis, and a fix is available in upstream commit 4640889.

RemediationAI

Primary fix: update the twofactor_gauthenticator plugin to a build that includes upstream commit 4640889, which is the change that closes the header-spoofing bypass; the advisory and release notes describing the change are at https://github.com/alexandregz/twofactor_gauthenticator/blob/master/CHANGES-2FA-SECURITY.en.md and the coordinating publication is at https://cert.pl/en/posts/2026/10/CVE-2026-107145. If the plugin cannot be updated immediately, two actionable compensations reduce exposure to the exact precondition this bug relies on. First, disable the IP-whitelist/trusted-address skip in the plugin configuration so that the second factor is enforced for every login regardless of source address - the trade-off is more 2FA prompts for users who previously relied on trusted networks. Second, ensure the web server or reverse proxy strips or overwrites incoming Client-IP and X-Forwarded-For headers from untrusted clients and sets them itself, so attacker-supplied values never reach the plugin - the trade-off is that correct proxy configuration is required and misconfiguration silently restores the bypass. Neither workaround addresses the underlying unvalidated-header logic, and since this bypass only defeats the second factor, any indication that account passwords are being used by an unauthorized party should be treated as a full credential compromise and handled with a password reset.

Affected VersionsENISA

twofactor_gauthenticator 0 <4640889

Affected Packages

euvd twofactor_gauthenticator fix: 4640889

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-290 (Authentication Bypass by Spoofing) is the root-cause class here: the twofactor_gauthenticator plugin for Roundcube implements an IP allowlist that suppresses the second-factor challenge for requests originating from trusted addresses, but it derives that source address from the Client-IP and X-Forwarded-For HTTP headers without validating them. Because these headers are client-influenced in any deployment that does not sit behind a proxy which normalizes them, a request can present an arbitrary address that matches an entry on the trusted list, and the plugin then treats the session as already having satisfied 2FA. The CPE string cpe:2.3:a:alexandregz:twofactor_gauthenticator:*:*:*:*:*:*:*:* covers all plugin builds prior to the fix commit, with EUVD recording the affected range as 0 through 4640889. The CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N) and the independent CVSS 3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N) agree that the flaw is network-reachable and requires no privileges or user interaction at the point of the bypass, but that high attack complexity is appropriate because the attacker must know a specific whitelisted IP value and must operate in a deployment whose header handling is permissive. The bypass defeats an authentication control; it does not, by itself, expose mail data, so confidentiality and integrity impact is scored low and availability is unaffected. The trigger path is described in the supplied sources only in terms of the unvalidated header handling - no further detail on how the plugin resolves the address internally is provided.

Know when Roundcube gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CERT-PL) PRIMARY 6.3 MEDIUM
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
vuln.today AI 4.8 MEDIUM

Network-reachable header spoofing (AV:N); AC:H because it requires a prior password compromise, the whitelist feature enabled, and a known whitelisted IP; limited mailbox C/I impact, no availability effect.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CERT-PL).

CVSS VectorVendor: CERT-PL

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche third-party Roundcube 2FA plugin; only whitelist-enabled installs affected
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-16651 HIGH POC
7.8 Nov 09

Roundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows unauthorized access to arbitrary file

CVE-2016-9920 HIGH POC
7.5 Dec 08

steps/mail/sendmail.inc in Roundcube before 1.1.7 and 1.2.x before 1.2.3, when no SMTP server is configured and the send

CVE-2015-8770 HIGH POC
7.5 Jan 29

Directory traversal vulnerability in the set_skin function in program/include/rcmail_output_html.php in Roundcube before

CVE-2020-12641 CRITICAL POC
9.8 May 04

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in

CVE-2020-12640 CRITICAL POC
9.8 May 04

Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plu

CVE-2015-2180 HIGH POC
8.8 Jan 30

The DBMail driver in the Password plugin in Roundcube before 1.1.0 allows remote attackers to execute arbitrary commands

CVE-2024-42009 CRITICAL POC
9.3 Aug 05

A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to stea

CVE-2015-2181 HIGH POC
8.8 Jan 30

Multiple buffer overflows in the DBMail driver in the Password plugin in Roundcube before 1.1.0 allow remote attackers t

CVE-2017-8114 HIGH POC
8.8 Apr 29

Roundcube Webmail allows arbitrary password resets by authenticated users. Rated high severity (CVSS 8.8), this vulnerab

CVE-2026-48842 HIGH POC
8.1 May 25

Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to

CVE-2018-1000071 HIGH POC
7.5 Mar 13

roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy