Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain victim's Roundcube password
-
DeliveryIdentify a whitelisted IP address
-
ExploitForge Client-IP / X-Forwarded-For header
-
ExecutionServer skips 2FA for 'trusted' IP
-
ImpactAuthenticated 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (CERT-PL).
CVSS VectorVendor: CERT-PL
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
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
Directory traversal vulnerability in the set_skin function in program/include/rcmail_output_html.php in Roundcube before
rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in
Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plu
The DBMail driver in the Password plugin in Roundcube before 1.1.0 allows remote attackers to execute arbitrary commands
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
Multiple buffer overflows in the DBMail driver in the Password plugin in Roundcube before 1.1.0 allow remote attackers t
Roundcube Webmail allows arbitrary password resets by authenticated users. Rated high severity (CVSS 8.8), this vulnerab
Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to
roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e
EUVD-2026-110649
GHSA-f37x-h4hh-7q49
NVD
CVE.org
EPSS
Exploit-DB