Roundcube Servers Face Active Attacks Through Pre-Login Database Injection
Roundcube CVE-2026-48842 is under active exploit, enabling pre-login SQL injection via virtuser_query. Patch to 1.6.16 or 1.7.1 immediately.
Illustrative image generated with AI
Exploitation warning follows an earlier security update
Attackers are reportedly exploiting CVE-2026-48842, a Roundcube Webmail SQL injection vulnerability that can be reached before authentication.
The Canadian Centre for Cyber Security said open-source reporting indicates active exploitation and urged administrators to secure affected webmail servers. The warning was reported on September 24, 2026, roughly four months after Roundcube patched the flaw.
Roundcube addressed the vulnerability in versions 1.6.16 and 1.7.1. Its security announcement is dated May 24, 2026, while the NVD entry was published on May 25 and last modified on July 24.
No attacker, campaign, victim organization, or targeted region has been identified. There are also no published indicators of compromise specifically tied to exploitation of this vulnerability.
The active-exploitation assessment comes from the CCCS statement relayed in public reporting. CVE-2026-48842 is not shown among the Roundcube entries in CISA’s Known Exploited Vulnerabilities catalog, so it should not be described as a CISA-confirmed KEV vulnerability.
A backslash-escape bypass enables SQL injection
CVE-2026-48842 affects Roundcube’s built-in virtuser_query plugin, which performs database-backed user lookups and maps users to email addresses.
The vulnerability results from a backslash-escape bypass involving PHP’s preg_replace() function. Improper handling of attacker-controlled input can allow SQL syntax to pass through the plugin’s intended filtering and reach the underlying database query.
The issue is classified as CWE-89, improper neutralization of special elements in an SQL command. Because the vulnerable path is accessible before login, an attacker does not need an existing Roundcube account or other prior privileges.
Successful exploitation may allow malicious SQL commands to be executed against the Roundcube database. The reported consequences include unauthorized access to stored data, while the CVSS assessment assigns high potential impact to confidentiality, integrity, and availability.
Exploitation is nevertheless characterized as technically difficult. The CVSS 3.1 rating is 8.1, with the vector:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
That vector describes a network-accessible attack requiring high complexity, but no privileges and no user interaction. The scope remains unchanged.
NVD has not supplied its own base-score assessment. The vector displayed in its record was contributed by MITRE as the CVE Numbering Authority. Although some reporting labels the flaw critical and other coverage calls it high-severity, NVD does not provide an independent score that resolves that terminology.
Two supported release branches are affected
The vulnerable version ranges are:
- Roundcube Webmail 1.6.0 through 1.6.15
- Roundcube Webmail 1.7.0
- More formally, NVD lists 1.6.0 to before 1.6.16 and 1.7.0 to before 1.7.1
Administrators should upgrade the applicable branch to 1.6.16 or 1.7.1. Roundcube’s remediation references include the release pages and GitHub commits 3406183a9976e36f992d3468f37d0e2346526ee9 and 87124cc7136a48b5fa9d2b40dfead6e9dcaeaf4b.
These commit hashes identify remediation work. They are not malicious indicators.
Roundcube is an open-source, browser-based IMAP client used as the default webmail interface by many hosting and email services. It is also distributed with the widely deployed cPanel hosting control panel, increasing the likelihood that installations are managed by hosting providers rather than individual mailbox users.
Shadowserver was reportedly tracking more than 523,000 Internet-exposed Roundcube instances. That figure should not be treated as a vulnerable-host count: it may include patched servers, unaffected configurations, and honeypots.
The affected component is specifically virtuser_query. Administrators therefore need to verify both the installed Roundcube version and whether this plugin is present and enabled.
Immediate actions for Roundcube administrators
Upgrading is the primary corrective action. Operators should move installations to 1.6.16 or 1.7.1, depending on the deployed branch, and prioritize systems directly reachable from the Internet.
If an immediate update cannot be completed, the reported interim mitigation is to disable or remove virtuser_query. Doing so removes the vulnerable plugin path, although administrators should assess whether any local identity-mapping workflow depends on it.
A practical response sequence is:
- Inventory Internet-facing Roundcube deployments, including installations bundled with hosting-control software.
- Record the exact Roundcube branch and patch level.
- Determine whether
virtuser_queryis installed and active. - Upgrade to 1.6.16 or 1.7.1.
- Disable or remove the plugin where patching must be delayed.
- Review database and web-server telemetry for unexplained requests, query errors, or unauthorized database activity.
No exploitation-specific request pattern, payload, log signature, IP address, domain, or file artifact has been disclosed. Defenders should therefore avoid presenting generic SQL injection strings as confirmed indicators for this campaign.
The absence of public indicators also limits retrospective investigation. Version and configuration checks can establish exposure, but they cannot by themselves prove that a server was or was not compromised.
CISA has not added this CVE to KEV
The distinction between a public exploitation report and a KEV listing matters operationally. CISA’s catalog can impose remediation deadlines on U.S. federal civilian agencies under applicable directives; the CCCS warning does not create such a CISA deadline.
As of September 24, 2026, the supplied CISA Roundcube catalog results do not include CVE-2026-48842. There is consequently no CISA KEV addition date or federal remediation due date for this flaw.
CISA has, however, repeatedly added other Roundcube vulnerabilities to KEV. Its catalog shows 11 Roundcube results, placing the current incident within a sustained pattern of real-world attacks against the webmail platform.
Two recent examples were added on February 20, 2026:
- CVE-2025-49113, an authenticated PHP object-deserialization flaw with a 9.9 CVSS score.
- CVE-2025-68461, an SVG
animatecross-site scripting vulnerability with a 7.2 score.
For both vulnerabilities, federal agencies had a March 13, 2026 remediation deadline. CISA required vendor mitigations, applicable BOD 22-01 measures for cloud services, or discontinuation where mitigations were unavailable.
Roundcube remains a recurring espionage target
Previous Roundcube flaws have been associated with government-focused cyber-espionage operations. Winter Vivern, also tracked as TA473, reportedly exploited the stored XSS vulnerability CVE-2023-5631 against European government entities.
APT28 reportedly used CVE-2020-35730, CVE-2020-12641, and CVE-2021-44026 in operations targeting Ukrainian government email systems. All four vulnerabilities are in CISA’s KEV catalog.
That history does not identify the actor exploiting CVE-2026-48842. It does, however, show why exposed webmail infrastructure attracts capable attackers: compromising the application or its database can provide access to sensitive communications and identity-related records without first compromising each endpoint.
For administrators, the operational conclusion is direct. Patch to Roundcube 1.6.16 or 1.7.1, or remove virtuser_query until the upgrade can be completed.
Sources
This article is an original reworking based on the sources below.
- primary sourceNVD (NIST)
- primary sourceCISA
- BleepingComputer
CVEs covered in this article
- CVE-2025-49113Critical9.9Roundcube Webmail before 1.5.10 and 1.6.x before 1.6.11 allows remote code execution by authenticated users because the _from parameter in a URL is not validated in program/actions/settings/upload.php, leading to PHP Object Deserialization.
- CVE-2020-12641Critical9.8rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.
- CVE-2021-44026Critical9.8Roundcube before 1.3.17 and 1.4.x before 1.4.12 is prone to a potential SQL injection via search or search_params.
- CVE-2024-42009Critical9.3A Cross-Site Scripting vulnerability in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a crafted e-mail message that abuses a Desanitization issue in message_body() in program/actions/mail/show.php.
- CVE-2026-48842High8.1Roundcube 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.
- CVE-2025-68461High7.2Roundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is prone to a Cross-Site-Scripting (XSS) vulnerability via the animate tag in an SVG document.
- CVE-2024-37383Medium6.1Roundcube Webmail before 1.5.7 and 1.6.x before 1.6.7 allows XSS via SVG animate attributes.
- CVE-2020-13965Medium6.1An issue was discovered in Roundcube Webmail before 1.3.12 and 1.4.x before 1.4.5. There is XSS via a malicious XML attachment because text/xml is among the allowed types for a preview.
- CVE-2023-43770Medium6.1Roundcube before 1.4.14, 1.5.x before 1.5.4, and 1.6.x before 1.6.3 allows XSS via text/plain e-mail messages with crafted links because of program/lib/Roundcube/rcube_string_replacer.php behavior.
- CVE-2023-5631Medium6.1Roundcube before 1.4.15, 1.5.x before 1.5.5, and 1.6.x before 1.6.4 allows stored XSS via an HTML e-mail message with a crafted SVG document because of program/lib/Roundcube/rcube_washtml.php behavior. This could allow a remote attacker to load arbitrary JavaScript code.
- CVE-2020-35730Medium6.1An XSS issue was discovered in Roundcube Webmail before 1.2.13, 1.3.x before 1.3.16, and 1.4.x before 1.4.10. The attacker can send a plain text e-mail message, with JavaScript in a link reference element that is mishandled by linkref_addindex in rcube_string_replacer.php.
