CVE-2026-137942: Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 Cross-User Contact Group Membership Access
Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains an authorization bypass in addtogroup() and removefromgroup() in program/lib/Roundcube/rcubecontacts.php, which did not verify that the contact group and the contacts belong to the current user. An authenticated user of the SQL address book can supply other users' group and contact identifiers to add contacts to or remove them from other users' contact groups, or to add other users' contacts to their own groups.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.6.19 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.7.4
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user of the SQL address book can exploit it. The attacker needs to supply identifiers for another user's contact group and/or contacts; no user interaction is required.
What access can an attacker gain or change?
The attacker can add contacts to or remove contacts from other users' contact groups, and can add other users' contacts to groups they control. The issue affects contact-group membership authorization rather than account authentication.
Which versions are affected?
Roundcube Webmail versions before 1.6.19 are affected, as are 1.7.x versions before 1.7.4. Updating to 1.6.19 or 1.7.4 addresses the issue.