Skip to main content

Roundcube twofactor_gauthenticator EUVDEUVD-2026-110648

| CVE-2026-107146 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-10-27 CERT-PL GHSA-v777-5g8j-qgq8
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 valid account password
  2. Delivery
    Authenticate and reach 2FA verification
  3. Exploit
    Submit failed second factor, ignore logout redirect
  4. Execution
    Reuse still-alive server session to brute-force TOTP code
  5. Impact
    Gain authenticated mailbox access

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Two prerequisites gate this: (1) the attacker must already possess the victim's valid Roundcube password - the flaw only weakens the 2FA layer, it does not grant access on its own; and (2) the installed twofactor_gauthenticator version must predate commit 4640889, where the specific defect is that a failed second-factor verification does not trigger server-side session destruction, letting the attacker ignore the client-side logout redirect and continue using the authenticated session to brute-force the TOTP code. Limiting factors: no code execution or privilege escalation results; success is bounded by TOTP code entropy and any rate limiting, and the attack is pointless without the stolen password, which is why CVSS rates attack complexity high and all impacts low.

Impact

This is a moderate, not emergency, priority. CWE-613 (insufficient session expiration): the plugin never destroys the session server-side after a failed second-factor check, so an attacker can discard the logout redirect and keep an authenticated session alive. The supplied CVSS 4.0 vector (AV:N/AC:H/PR:N/UI:N, VC:L/VI:L/VA:L) is network-reachable but rates attack complexity high and all impacts low, consistent with a defense-in-depth bypass rather than direct compromise. Crucially, the description states exploitation presupposes an attacker who already obtained the user's password - the flaw only degrades the 2FA safety net by permitting offline-style brute forcing of the TOTP second factor, so PR:N reflects the CVSS scoring convention (a known credential is an attack prerequisite, not a plugin privilege) rather than a truly condition-free remote compromise. EPSS is low at 0.35% (28th percentile) and there is no CISA KEV listing and no public exploit identified at time of analysis, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with the low-probability, defense-layer-degradation picture. Net: patch on a normal monthly cadence; this is a genuine but secondary-control weakness, not a high-CVSS-but-overrated critical.

Exploit ScenarioDerived

An attacker who has already phished or otherwise stolen a Roundcube user's password logs in and reaches the 2FA prompt. Because a failed second-factor attempt does not destroy the session server-side, the attacker ignores the logout redirect and keeps the authenticated session alive, repeatedly submitting guesses to brute-force the victim's TOTP code and ultimately reach the mailbox. No public exploit has been identified at time of analysis; the attack requires prior possession of the valid password.

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

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

Alert me

AnalysisAIv1 – Oct 28, 2026

Insufficient session termination in the Roundcube twofactor_gauthenticator plugin (all builds prior to commit 4640889) lets an attacker who already holds a victim's valid account password ignore the client-side logout redirect after a failed second-factor check and continue using the still-valid authenticated session to brute-force the TOTP code. The plugin fails to destroy the session server-side when verification fails, so the 2FA layer is weakened rather than bypassed outright - the stolen password remains a hard prerequisite, and success is bounded by TOTP entropy and any rate limiting, which is why the assessment rates attack complexity high with low confidentiality, integrity and availability impact. No public exploit has been identified at time of analysis and EPSS is low (0.35%, 28th percentile); the vendor fix is commit 4640889 and the prioritisation label is this_month - a moderate, not emergency, priority.

RemediationAI

Update the plugin to a build that includes upstream commit 4640889, which is the fix the vendor identifies for this issue; the patch reference points to a commit and the plugin's security changelog rather than a tagged release, so a released version number containing the fix is not independently confirmed and the deployed revision should be verified against the commit. Track the vendor changelog at https://github.com/alexandregz/twofactor_gauthenticator/blob/master/CHANGES-2FA-SECURITY.en.md and the CERT-PL advisory at https://cert.pl/en/posts/2026/10/CVE-2026-107145 for confirmation of a packaged release. Where the update cannot be applied immediately, the exposure is conditional: the flaw is only reachable by someone who already holds a valid Roundcube password, so rotating credentials for accounts suspected of compromise and enforcing a strong password policy removes the prerequisite entirely. Operators can additionally throttle repeated second-factor verification attempts at the reverse proxy or webmail front end to blunt code brute-forcing, accepting that this is a compensating control that does not fix the underlying server-side session persistence, and that tightening request rates may affect legitimate users retrying a mistyped code.

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

The affected component is twofactor_gauthenticator, a third-party plugin that adds Google-Authenticator-style TOTP second-factor verification to the Roundcube webmail client; the CPE cpe:2.3:a:alexandregz:twofactor_gauthenticator confirms the alexandregz namespace as the vulnerable package. The root cause is CWE-613, Insufficient Session Expiration: when a submitted second-factor code fails verification, the plugin issues a client-side logout redirect but does not invalidate the session on the server, so a client that simply does not follow the redirect retains an authenticated session context. The technology involved is therefore session-state handling in the webmail authentication flow rather than memory corruption or injection - the defect is a missing server-side session destruction step, and the attacker's only lever is repeated submission of candidate TOTP codes against that surviving session. The supplied CVSS:4.0 vector scores AV:N/AC:H/AT:N/PR:N/UI:N with all subsequent-system impacts none, and the independent CVSS:3.1 assessment (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L) matches: the vector carries PR:N, yet exploitation still presupposes that the attacker already possesses the victim's valid password, and the trigger path beyond 'a failed 2FA verification does not destroy the session server-side' is not further described in the available sources. No code execution or privilege escalation results from this flaw.

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:L/SC:N/SI:N/SA:N
vuln.today AI 5.6 MEDIUM

Network-reachable with no plugin privilege (PR:N), but AC:H because exploitation requires a pre-obtained password plus brute-forcing the second factor; impact is the limited mailbox exposure from a degraded 2FA control.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

The twofactor_gauthenticator plugin for Roundcube is vulnerable to session persistence after failed 2FA verification. Due to the lack of server-side session destruction, an attacker can ignore the logout redirect and keep the session alive. This may allow an attacker who obtains user's password to e.g. brute force the second-factor code.

This issue was fixed in commit 4640889.

Threat Intelligence Overview

EPSS Score
0.3%
Top 72% exploitable
Prevalence
Low
third-party 2FA plugin used by a fraction of Roundcube installs
Data Quality
5 sources
Confidence: Medium

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.3%
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

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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