Skip to main content

Roundcube Webmail EUVDEUVD-2026-31719

| CVE-2026-48842 HIGH
SQL Injection (CWE-89)
2026-05-25 mitre GHSA-vc2v-cxrw-6g4p
8.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Roundcube login endpoint
  2. Delivery
    Confirm virtuser_query plugin enabled
  3. Exploit
    Craft backslash-escape preg_replace bypass payload
  4. Execution
    Submit malicious address to trigger SQL injection
  5. Persist
    Exfiltrate credential hashes or session data
  6. Impact
    Authenticate to mailboxes or pivot into database

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The target must be a Roundcube Webmail 1.6.0-1.6.15 or 1.7.0 instance with the virtuser_query plugin enabled in config/config.inc.php (it is not in the default plugin set, so this is a meaningful limiter); the webmail login or address-lookup endpoint must be reachable by the attacker over the network. No authentication and no user interaction are required (PR:N/UI:N). The CVSS AC:H rating reflects that the attacker must construct a payload that defeats the specific preg_replace() backslash-escape logic rather than a trivial single-quote injection, which raises the bar above a stock SQLi probe.

Impact

Signals diverge: CVSS 8.1 with AV:N/PR:N/UI:N and C:H/I:H/A:H reflects unauthenticated remote reach and full CIA impact, and SSVC labels technical impact as total - yet AC:H captures that the preg_replace bypass requires crafting a payload that successfully evades the escape logic, EPSS sits at 0.08% (23rd percentile), and SSVC exploitation status is 'none' with automatable 'no'. The vulnerability is not on CISA KEV and no public PoC has been identified at time of analysis. One important caveat: the virtuser_query plugin is not enabled in every Roundcube deployment, so real-world exposure is narrower than the CPE wildcard implies - sites that do enable it (common in multi-domain or virtual hosting setups) face genuine pre-auth database compromise risk and should treat this as priority patching, while sites without the plugin enabled face materially lower exposure.

Exploit ScenarioDerived

An unauthenticated attacker submits a crafted email address containing a backslash sequence designed to evade the preg_replace() escape, targeting the login or virtuser_query lookup endpoint on an internet-facing Roundcube instance configured with the plugin. The malformed input breaks out of the quoted SQL context and executes attacker-controlled SQL - for example, dumping the users table to harvest password hashes for offline cracking or pivoting to mailbox takeover. No public PoC has been identified, but the fix commits are public, enabling skilled attackers to reverse the patch and develop weaponized exploitation.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 08, 2026

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.

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.

Affected VersionsENISA

Webmail 1.7.0 <1.7.1
Webmail 1.6.0 <1.6.16

Affected Packages

euvd webmail fix: 1.6.16, 1.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Roundcube gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
May 26, 2026 - 14:01 EUVD

DescriptionCVE.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.

Executive ViewAI

Why It Matters

Roundcube Webmail deployments running versions 1.6.x (prior to 1.6.16) and 1.7.x (prior to 1.7.1) contain an unauthenticated SQL injection vulnerability that bypasses login controls and grants direct access to the backend database. Attackers can exploit this flaw without valid credentials, exposing user mailboxes and sensitive business data stored within the email system. Email being a primary business communication channel, this vulnerability poses an immediate threat to organizational data confidentiality and integrity.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Exploit
POC
Public exploit code exists
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-16651 HIGH POC
7.8 Nov 09

Roundcube Webmail before 1.1.10, 1.2.x before 1.2.7, and 1.3.x before 1.3.3 allows unauthorized access to arbitrary file

CVE-2016-9920 HIGH POC
7.5 Dec 08

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

CVE-2015-8770 HIGH POC
7.5 Jan 29

Directory traversal vulnerability in the set_skin function in program/include/rcmail_output_html.php in Roundcube before

CVE-2020-12641 CRITICAL POC
9.8 May 04

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in

CVE-2020-12640 CRITICAL POC
9.8 May 04

Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plu

CVE-2015-2180 HIGH POC
8.8 Jan 30

The DBMail driver in the Password plugin in Roundcube before 1.1.0 allows remote attackers to execute arbitrary commands

CVE-2024-42009 CRITICAL POC
9.3 Aug 05

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

CVE-2015-2181 HIGH POC
8.8 Jan 30

Multiple buffer overflows in the DBMail driver in the Password plugin in Roundcube before 1.1.0 allow remote attackers t

CVE-2017-8114 HIGH POC
8.8 Apr 29

Roundcube Webmail allows arbitrary password resets by authenticated users. Rated high severity (CVSS 8.8), this vulnerab

CVE-2018-1000071 HIGH POC
7.5 Mar 13

roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e

CVE-2020-12626 MEDIUM POC
6.5 May 04

An issue was discovered in Roundcube Webmail before 1.4.4. Rated medium severity (CVSS 6.5), this vulnerability is remot

Vendor StatusVendor

SUSE

Severity: High
Product Status
openSUSE Leap 16.0 Fixed
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy