Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114715 Overview
CVE-2026-114715 is an incorrect authorization vulnerability [CWE-863] in the Modoboa driver of the Roundcube Webmail password plugin. The driver selected the first entry returned by the Modoboa API account search instead of matching the authenticated user. An attacker with valid credentials can therefore trigger a password change that is applied to a different account returned by the API. Roundcube maintainers fixed the issue in versions 1.6.20 and 1.7.5 by matching the account whose username equals the authenticated user and failing when no match exists.
Critical Impact
An authenticated Roundcube user whose Modoboa password change request returns multiple accounts can overwrite the password of an unrelated account, enabling account takeover of mailboxes managed by the same Modoboa instance.
Affected Products
- Roundcube Webmail versions prior to 1.6.20
- Roundcube Webmail 1.7.x versions prior to 1.7.5
- Deployments using the Modoboa driver in the password plugin
Discovery Timeline
- 2026-10-19 - Roundcube publishes security updates 1.6.20 and 1.7.5
- 2026-10-22 - CVE-2026-114715 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-114715
Vulnerability Analysis
The flaw resides in plugins/password/drivers/modoboa.php, which handles password changes for Roundcube installations backed by a Modoboa mail hosting platform. After authenticating to the Modoboa API, the driver queries for the account to update. The response is a JSON array of matching accounts. The vulnerable code assumed the array contained exactly one entry, the authenticated user, and operated on index [0] without validating the username.
When the Modoboa API returns multiple accounts, for example due to loose matching semantics or shared attributes, the driver updates the password of whichever account appears first. The authenticated user can thus hijack another mailbox hosted on the same Modoboa backend. The impact is bounded by the Modoboa authorization scope but can include administrative or peer accounts.
Root Cause
The root cause is a missing authorization check that ties the API response back to the authenticated principal. The driver trusted the ordering of the API response rather than verifying that the selected username field matched the authenticated session.
Attack Vector
Exploitation requires valid Roundcube credentials and a Modoboa backend whose account search returns more than one record for the attacker's query. The attacker initiates a standard password change through the Roundcube UI. The server-side driver then applies the new password to the first returned account, which may not be the attacker's own.
// Vulnerable logic (before patch) in plugins/password/drivers/modoboa.php
// Get user ID (pk)
$userid = $decoded[0]->pk;
// Encode json with new password
$ret['username'] = $decoded[0]->username;
$ret['mailbox'] = $decoded[0]->mailbox;
$ret['role'] = $decoded[0]->role;
$ret['password'] = $passwd; // new password
$encoded = json_encode($ret);
// Patched logic - matches authenticated username before applying change
$userid = null;
$user = null;
foreach ($decoded as $account) {
if (isset($account->username) && $account->username === $username) {
$userid = $account->pk;
$user = [
'username' => $account->username,
'mailbox' => $account->mailbox,
'role' => $account->role,
];
break;
}
}
if ($user === null) {
return PASSWORD_CONNECT_ERROR;
}
$user['password'] = $passwd;
$encoded = json_encode($user);
Source: Roundcube commit 3d9d05b and Roundcube commit e6a7727.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-114715
Indicators of Compromise
- Roundcube password plugin log entries showing a successful password change immediately followed by failed logins for the originally expected user.
- Modoboa API audit records showing PATCH/PUT operations on an account pk that does not correspond to the Roundcube session user.
- New IMAP or webmail logins from unfamiliar IP addresses using credentials for accounts whose owners did not initiate a password reset.
Detection Strategies
- Correlate Roundcube password plugin events with Modoboa account-change events and alert when the acting Roundcube user differs from the Modoboa username whose password was updated.
- Hunt for Roundcube installations running versions earlier than 1.6.20 or 1.7.x earlier than 1.7.5 with the Modoboa driver enabled in config/config.inc.php.
- Review webserver access logs for repeated requests to the password change endpoint (?_task=settings&_action=plugin.password-save) from the same session.
Monitoring Recommendations
- Forward Roundcube and Modoboa logs to a centralized log store and build an alert for password-change actions where the target account differs from the authenticated user.
- Monitor for sudden mass password changes or lockouts across Modoboa-managed domains.
- Track failed authentication spikes that follow legitimate password-change events, which may indicate a hijacked account.
How to Mitigate CVE-2026-114715
Immediate Actions Required
- Upgrade Roundcube Webmail to 1.6.20 or 1.7.5 as described in the Roundcube security updates announcement.
- Audit Modoboa account change logs since the Roundcube password plugin with the Modoboa driver was deployed and reset any passwords that cannot be attributed to the correct owner.
- Require users whose passwords may have been modified without authorization to re-authenticate and reset their credentials.
Patch Information
The fix is included in Roundcube 1.6.20 and 1.7.5. The upstream commits 3d9d05b and e6a7727 iterate the Modoboa API response, match on the authenticated username, and return PASSWORD_CONNECT_ERROR if no entry matches. Debian tracking is available in Debian Bug Report #1151279.
Workarounds
- Temporarily disable the Modoboa driver in the Roundcube password plugin and route password changes through the Modoboa admin interface until the patch is applied.
- Restrict access to the Roundcube password change feature to a trusted administrator group via plugin configuration while planning the upgrade.
- Apply the upstream patch manually to plugins/password/drivers/modoboa.php if an immediate version upgrade is not possible.
# Disable the password plugin until Roundcube is upgraded to 1.6.20 or 1.7.5
# Edit config/config.inc.php and remove 'password' from the plugins array:
# $config['plugins'] = array('archive', 'zipdownload');
# Then restart the webserver so configuration changes take effect
sudo systemctl reload apache2 # or: sudo systemctl reload nginx php-fpm
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

