Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
3DescriptionCVE.org
Roundcube Webmail 1.6.x before 1.6.16 and 1.7.x before 1.7.1 has Pre-authentication SQL injection in the virtuser_query plugin via a preg_replace() backslash escape bypass.
AnalysisAI
Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to bypass input sanitization through a preg_replace() backslash escape flaw and inject arbitrary SQL against the backing database. Versions 1.6.x prior to 1.6.16 and 1.7.x prior to 1.7.1 are affected. Vendor patches are available, no public exploit identified at time of analysis, and EPSS is low (0.08%), but SSVC rates technical impact as total.
Technical ContextAI
Roundcube Webmail is a widely deployed PHP-based browser webmail client. The virtuser_query plugin maps email addresses to mailbox accounts by issuing SQL queries against a configured database, with input intended to be neutralized via PHP's preg_replace(). The root cause is classified as CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): a backslash-escape bypass in the preg_replace() routine permits attacker-controlled input to break out of the intended quoting context, so untrusted address strings reach the SQL statement unsanitized. CPE cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* covers all Roundcube Webmail installations regardless of OS or distribution packaging.
RemediationAI
Upgrade to Roundcube Webmail 1.6.16 or 1.7.1 - vendor-released patches that contain the fix commits 87124cc7136a48b5fa9d2b40dfead6e9dcaeaf4b (1.6.16) and 3406183a9976e36f992d3468f37d0e2346526ee9 (1.7.1), published in the security advisory at https://roundcube.net/news/2026/05/24/security-updates-1.6.16-and-1.7.1 and the release notes at https://github.com/roundcube/roundcubemail/releases/tag/1.6.16 and https://github.com/roundcube/roundcubemail/releases/tag/1.7.1. Where immediate upgrade is not feasible, disable the virtuser_query plugin in config/config.inc.php by removing it from the $config['plugins'] array - this fully removes the vulnerable code path but breaks any virtual-user address-to-mailbox mapping that depends on it, so sites relying on virtuser_query for multi-domain mail routing should use the database-backed virtuser_file alternative or accelerate the upgrade. Additional defense-in-depth includes restricting database user privileges granted to the Roundcube account to only the tables and operations it requires, and placing the webmail behind a WAF tuned to flag SQL metacharacters on login-related endpoints - noting that WAF rules may produce false positives on legitimate addresses containing special characters.
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
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
roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e
An issue was discovered in Roundcube Webmail before 1.4.4. Rated medium severity (CVSS 6.5), this vulnerability is remot
Cross-site scripting (XSS) vulnerability in Roundcube Webmail before 1.2.0 allows remote attackers to inject arbitrary w
Cross-site scripting (XSS) vulnerability in program/include/rcmail.php in Roundcube before 1.0.6 and 1.1.x before 1.1.2
Same weakness CWE-89 – SQL Injection
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-31719
GHSA-vc2v-cxrw-6g4p