Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Roundcube webmail
-
ExploitCraft _uid with CRLF sequences
-
ExecutionInject arbitrary IMAP commands
-
ImpactManipulate mailbox state
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Requires an authenticated Roundcube session (valid webmail login, per CVSS PR:L) on an unpatched instance running a version before 1.6.20 or a 1.7.x before 1.7.5. The attacker must reach the mail/headers or mail/viewsource action and supply a _uid parameter containing raw CR/LF (\r\n) characters; no non-default configuration is needed - default installations in the affected version range are vulnerable. The primary limiting factor is the authentication requirement (no unauthenticated path) and the bound of injected IMAP commands to the attacker's own authenticated IMAP session; no user interaction by a victim is required (UI:N). |
| Impact | This is a moderate-priority, authentication-gated vulnerability rather than a critical internet-wide threat. The vendor CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N) confirms network reachability and low attack complexity but REQUIRES at least low-level privileges (PR:L) - i.e. a valid authenticated Roundcube webmail account - which substantially narrows the attacker population to insiders, phished/credential-stuffed users, or multi-tenant hosting neighbors. No EPSS score was provided in the input, so exploitation probability cannot be quantified. The CVE is NOT present in CISA KEV and no public exploit code is referenced, so there is no public exploit identified at time of analysis. The impact profile (C:L/I:H/A:N) reflects that injected IMAP commands run within the attacker's own authenticated mail session, enabling manipulation of mailbox state (high integrity impact) with limited confidentiality exposure and no availability impact. The CWE-93 (CRLF injection) classification and the source-code fix (adding preg_match('/[\r\n]/', $uid) rejection in mail/headers.php and mail/viewsource.php) independently corroborate the described mechanism. Overall: a genuine, vendor-confirmed and patched flaw worth prompt remediation on exposed webmail, but not an emergency given the authentication requirement and absence of KEV/POC signals. |
| Exploit ScenarioDerived | An attacker who already holds valid Roundcube webmail credentials (their own account, or stolen/phished ones) sends a crafted request to the mail/headers or mail/viewsource action with CRLF sequences embedded in the _uid parameter. The injected newlines break out of the intended IMAP command and let the attacker smuggle arbitrary IMAP commands into the server session, manipulating mailbox operations. No public exploit code is identified at time of analysis, and the attack requires an authenticated session (CVSS PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
IMAP command injection in Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 lets a remote authenticated attacker inject CRLF sequences into the _uid parameter of the mail/headers and mail/viewsource actions and execute arbitrary IMAP commands within their own webmail session. The flaw requires a valid Roundcube login (CVSS PR:L) and is exploitable in default configurations; it has high integrity impact but limited confidentiality impact, and no public exploit was identified at time of analysis. Vendor-released patches 1.6.20 and 1.7.5 address the 1.6 and 1.7 branches.
RemediationAI
Vendor-released patch: upgrade to Roundcube Webmail 1.6.20 on the 1.6 branch or 1.7.5 on the 1.7 branch, using the advisory at https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 or the tagged releases. If immediate upgrade is not possible, add a reverse-proxy or WAF rule that rejects requests to mail/headers and mail/viewsource where _uid contains CR/LF, including encoded variants such as %0d and %0a; legitimate _uid values are numeric, so false-positive impact should be low, but this is only a stopgap and may be bypassed by encoding or routing differences. Also limit webmail exposure to trusted networks and enforce strong authentication and session protections, because exploitation requires a valid Roundcube session; the trade-off is reduced accessibility for remote users.
Affected VersionsENISA
Affected Packages
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 is a PHP-based IMAP webmail client. IMAP is a line-oriented protocol that uses CRLF sequences to terminate commands, so untrusted input containing raw CR and LF characters can break out of the intended command context and append attacker-controlled IMAP commands. CWE-93 (Improper Neutralization of CRLF Sequences) is the root-cause class here. In affected versions, the _uid value handled by program/actions/mail/headers.php and program/actions/mail/viewsource.php was used without rejecting control characters; the upstream fix adds a CR/LF rejection check before processing _uid and raises an error when such characters are present. The CPE cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* is a broad match for Roundcube Webmail, with fixed releases at 1.6.20 and 1.7.5.
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
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Network-reachable webmail action with low complexity but requiring an authenticated account (PR:L); injected IMAP commands chiefly corrupt mailbox state (I:H) with limited read exposure (C:L) and no availability loss.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 are affected by IMAP command injection. A remote authenticated attacker can exploit this via CRLF sequences injected into the _uid parameter of the mail/headers and mail/viewsource actions to execute arbitrary IMAP commands.
Executive ViewAI
Roundcube Webmail, used by staff to access corporate email through a browser, contains an IMAP command injection flaw (CVE-2026-113386) affecting releases prior to 1.6.20 and 1.7.5. Because exploitation requires a valid mailbox login, the realistic exposure is an insider, a phished account, or a compromised credential rather than an anonymous internet attacker, and the demonstrated impact is manipulation of mail and folder data within that user's own session rather than broad data theft. Leadership should care because webmail is a high-availability service touching every email user, and unpatched instances leave a known, vendor-fixed weakness in a widely deployed internet-facing component.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
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
Directory traversal vulnerability in the set_skin function in program/include/rcmail_output_html.php in Roundcube before
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
Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to
roundcube version 1.3.4 and earlier contains an Insecure Permissions vulnerability in enigma plugin that can result in e
EUVD-2026-104794
GHSA-qwfm-hv5v-vc9r
NVD
CVE.org
EPSS
Exploit-DB