CVE-2026-48842

Pre-Authentication SQL Injection in Roundcube's virtuser_query Plugin

Published May 25, 2026 CVSS 3.1 · 8.1 High EPSS 1.7% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Roundcube Webmail's virtuser_query plugin has a flaw that bypasses backslash escaping in preg_replace, allowing the execution of arbitrary SQL statements without authentication. The vulnerability stems from inadequate sanitization of user input before it is incorporated into database queries, which can enable an attacker to query, modify, or delete data stored in the mail server's database.

Affected Systems

This issue affects installations of Roundcube Webmail version 1.6.x before 1.6.16 and version 1.7.x before 1.7.1 when the virtuser_query plugin is enabled. The vulnerability is tied to the plugin code referenced in the provided commits and release notes.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity. EPSS is not available, and the vulnerability is not listed in CISA's KEV catalog. An attacker can trigger the flaw by sending crafted requests to the webmail interface that target the virtuser_query plugin, gaining the ability to inject and execute SQL commands without needing authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roundcube to 1.6.16 or 1.7.1, or a later release that contains the patch for the virtuser_query plugin.
  • If an upgrade is not immediately possible, disable or remove the virtuser_query plugin from the system to eliminate the attack vector.
  • Restrict the database user account used by Roundcube to the minimum privileges required, reducing the impact of any remaining injection vulnerabilities.

Generated by OpenCVE AI on May 25, 2026 at 21:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4604-1 roundcube security update
Debian DSA Debian DSA DSA-6301-1 roundcube security update
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Pre-Authentication SQL Injection in Roundcube's virtuser_query Plugin
Type Values Removed Values Added
Description 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.
First Time appeared Roundcube
Roundcube webmail
Weaknesses CWE-89
CPEs cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*
Vendors & Products Roundcube
Roundcube webmail
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 25, 2026, 3:55 AM
Reserved
May 25, 2026, 7:06 PM
Status
Deferred
Published
May 25, 2026, 8:16 PM
Modified
Sep 25, 2026, 4:17 AM