Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Roundcube with valid user credentials
-
DeliveryInject attacker-controlled hostname into session IMAP host field
-
ExploitTrigger password change via modoboa driver
-
InstallRoundcube sends Modoboa API request to attacker host with Authorization token
-
C2Capture Modoboa API token from request headers
-
ExecuteAuthenticate directly to legitimate Modoboa API
-
ImpactEnumerate or modify all hosted mail accounts
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Incorrect resource transfer between spheres
|
| Exploitation Conditions | Exploitation requires a valid authenticated Roundcube webmail account, confirmed by the CVSS vector PR:L; unauthenticated access is not sufficient. The target Roundcube instance must have the password plugin enabled AND specifically configured to use the modoboa driver - instances using any other password driver (sql, ldap, virtualmin, cpanel, or others) are entirely unaffected. The attacker must be able to control or influence the IMAP host value persisted in their session, which vulnerable versions read directly from $_SESSION['imap_host'] without validation, as confirmed by the commit diff. The Roundcube server must have network egress to attacker-controlled infrastructure on HTTPS (TCP 443), which is typical in most deployments but may be restricted by egress firewall rules. The leaked credential is the server-side Modoboa API token stored in the Roundcube configuration file - not the end-user's own password. Exploitation is bounded to users who can trigger the modoboa password-change flow. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N understates real-world impact: the C:L and I:L sub-scores capture only the immediate effect within Roundcube's scope, while the scope change (S:C) signals that the exfiltrated Modoboa API token operates in a different security domain where its possession could yield full administrative control over all hosted mail accounts. EPSS data is absent from the provided intelligence, and the absence of a CISA KEV listing suggests exploitation has not been observed at scale; however, even a mid-sized municipal IT team in kalisz operating a Modoboa-backed Roundcube deployment should treat this as urgent, because the admin API token is a single credential that pivots directly to Modoboa account takeover without additional exploitation steps. The narrow deployment condition - modoboa driver must be specifically enabled - materially limits the exposed population but does not diminish impact for sites that do meet it. No public proof-of-concept is identified, which lowers near-term automated exploitation risk, but the attack chain is straightforward enough that absence of public POC is not a strong mitigating signal for affected operators. |
| Exploit ScenarioDerived | An authenticated Roundcube user manipulates their session to replace the stored IMAP host value with an attacker-controlled domain, then initiates a password change through the Roundcube web interface. The modoboa driver constructs a cURL request to the attacker's HTTPS server, transmitting the full Authorization: Token header containing the server-side Modoboa API credential; the attacker's server logs the token. The attacker then authenticates directly to the legitimate Modoboa API using the captured token and gains administrative access to enumerate, modify, or delete all hosted mail accounts. No public proof-of-concept code is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 17, 2026
Token exfiltration in Roundcube Webmail's modoboa password driver allows authenticated users to redirect server-side Modoboa API requests - including the admin API credential - to attacker-controlled hosts by manipulating session IMAP host data. Versions before 1.6.18 and 1.7.x before 1.7.3 are affected, but only deployments using the password plugin with the modoboa driver are exposed. The leaked Modoboa API token could grant persistent administrative access to the Modoboa mail platform, enabling enumeration and modification of all hosted mail accounts; no public exploit or CISA KEV listing is identified at time of analysis.
RemediationAI
Upgrade to Roundcube Webmail 1.6.18 (stable branch) or 1.7.3 (development branch) as documented in the vendor security advisory at https://roundcube.net/news/2026/08/09/security-updates-1.6.18-and-1.7.3; both releases introduce a dedicated password_modoboa_api_host configuration parameter replacing session-derived host resolution and enforce sanitization via rcube_utils::parse_host(). The upstream fix is available via commits 65b8ea9d8304b10f1d3bda5bcc82f9c682cf804c and b0e26d617e7bbe3051135285993bc55f718fea2f. If immediate upgrade is not feasible, disabling the password plugin entirely eliminates the vulnerable code path with no impact on core webmail functionality (users would be unable to change passwords via Roundcube until the plugin is re-enabled post-patch). After patching, administrators should rotate the Modoboa API token configured in $config['password_modoboa_api_token'], since any pre-patch exposure of the token cannot be ruled out and token reuse would allow continued attacker access to the Modoboa API independent of the Roundcube fix.
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-669 (Incorrect Resource Transfer Between Spheres) identifies the root cause: the vulnerable modoboa.php driver unconditionally read $_SESSION['imap_host'] and used that value as the hostname in outbound cURL requests to the Modoboa REST API, transmitting the Authorization: Token header to whatever host appeared in the session. Because session data can be influenced by an authenticated user, an attacker could inject a malicious IMAP host value and cause Roundcube to issue API requests to an attacker-controlled HTTPS server, leaking the server-side admin token. Commit diffs 65b8ea9d8304b10f1d3bda5bcc82f9c682cf804c and b0e26d617e7bbe3051135285993bc55f718fea2f confirm the fix: a new password_modoboa_api_host configuration key replaces session-derived host resolution, rcube_utils::parse_host() sanitizes the resolved value, and template variable substitution is blocked when imap_host is unconfigured. The affected component is plugins/password/drivers/modoboa.php within the password plugin, covering cpe:2.3:a:roundcube:webmail versions below 1.6.18 on the stable branch and 1.7.0 through 1.7.2 on the development branch.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
PR:L reflects mandatory Roundcube account; S:C with C:H/I:H captures that the leaked Modoboa admin API token grants full cross-system account control.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
In Roundcube Webmail before 1.6.18 and 1.7.x before 1.7.3, the modoboa driver of the password plugin could leak a Modoboa API authentication token to a user-controlled host via crafted session data. This issue only affects Roundcube instances using the password plugin with its modoboa driver.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
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-60174
GHSA-qv9q-5762-xc65
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB