Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with valid Roundcube credentials
-
ExploitInject CRLF sequences into _flag of mail/mark action
-
ImpactSmuggle and execute arbitrary IMAP commands on mailbox
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 (PR:L) with access to the standard mail/mark action, which is available to all normal logged-in users - no special or non-default configuration is needed, and default installations of affected versions (before 1.6.20 and 1.7.x before 1.7.5) are vulnerable. The attacker must be able to inject raw CRLF (control) characters into the _flag parameter; the fix rejects flags containing control, whitespace and IMAP-special characters. The primary limiting factor is the authentication requirement: anonymous/unauthenticated remote attackers cannot exploit this, so realistic risk centers on credentialed users, compromised accounts, or malicious insiders rather than opportunistic internet-wide scanning. |
| Impact | CVSS 3.1 base score is 7.1 (High) with vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N: network-reachable, low attack complexity, no user interaction, but PR:L means a valid authenticated Roundcube account is required. No EPSS score was supplied in the input and the CVE is not listed in CISA KEV, so there is no public-data signal of active, widespread exploitation. No public exploit code was identified, though the vendor patch commit (6c3c189) explicitly discloses the sink (the modFlag() function in rcube_imap_generic.php) and the exact injection vector, which materially lowers the bar for an attacker to derive a working exploit. Net assessment: a genuine High-severity integrity issue rather than an inflated high-CVSS item, but the authentication requirement (PR:L) and absence of KEV/EPSS signals place it in the 'patch promptly, not emergency' tier - most dangerous as a post-credential-compromise or malicious-insider escalation primitive rather than a mass-exploitable unauthenticated flaw. |
| Exploit ScenarioDerived | An attacker holding valid webmail credentials (their own account or phished/compromised ones) issues a crafted mail/mark request embedding CRLF sequences in the _flag parameter, smuggling additional IMAP commands into the backend IMAP session. No public exploit was identified at time of analysis, but the published fix commit reveals the precise injection point, so a proof-of-concept is straightforward to construct. Because the CVSS vector is AC:L/UI:N, exploitation is reliable and requires no victim interaction once authenticated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 22, 2026
IMAP command injection in Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 allows an authenticated remote user to inject CRLF sequences through the _flag parameter of the mail/mark action and execute arbitrary IMAP commands in their mail session. The CVSS 3.1 score is 7.1 (High) with PR:L, and default installations are vulnerable because mail/mark is available to normal logged-in users, so risk centers on compromised accounts, malicious insiders, or credentialed attackers rather than anonymous scanning. Vendor fixes are available in 1.6.20 and 1.7.5; no public exploit identified at time of analysis and no CISA KEV confirmation was provided.
RemediationAI
Vendor-released patch: Roundcube Webmail 1.6.20 and 1.7.5. Upgrade affected installations to 1.6.20 or 1.7.5, which include the upstream fix commit 6c3c1897c11e193e47fccaabc87e9ca2a0a73e51 with related commit 242c6d6a150c850bd96d20d400261e71f8d11f9b rejecting _flag values that contain control, whitespace, or IMAP-special characters; follow the advisory at https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5. If an immediate upgrade is not possible, add a reverse-proxy or WAF rule that blocks requests to the mail/mark action when _flag contains encoded CR/LF (%0d or %0a) or other control bytes, accepting possible false positives on unusual flag names and incomplete coverage for traffic that bypasses the proxy. Also limit webmail access to trusted networks or require strong MFA for accounts where feasible and monitor for anomalous IMAP command activity or unexpected mailbox flag changes; these compensating controls do not replace patching.
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 Webmail is a PHP webmail front end that communicates with an IMAP server through its rcube_imap_generic library. CWE-93 (Improper Neutralization of CRLF Sequences) is the root cause: the mail/mark action passes the _flag parameter into modFlag() in program/lib/Roundcube/rcube_imap_generic.php without adequately rejecting line terminators, so CRLF and related control characters can break out of the intended flag argument and append IMAP commands to the protocol stream. The upstream fix adds a preg_match check rejecting bytes 0x00-0x20 and 0x7f plus the IMAP-special characters parentheses, braces, double quote, asterisk, and percent; this is protocol-level command injection, not OS command execution. The affected CPE is cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* with fixes in 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-facing webmail action with low complexity and no UI, but a valid account is required so PR:L; injected IMAP commands chiefly alter mailbox state (I:H) with limited read exposure (C:L) and no availability impact.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
DescriptionCVE.org
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an IMAP command injection vulnerability. A remote authenticated attacker can exploit this via CRLF sequences injected into the _flag parameter of the mail/mark action to execute arbitrary IMAP commands. Upstream fixed this in the commit “Fix IMAP command injection via CRLF in _flag parameter of mail/mark action”, which rejects flags containing control, whitespace and IMAP-special characters.
Executive ViewAI
Roundcube Webmail deployments below versions 1.6.20 and 1.7.5 carry a high-severity flaw that lets anyone with a valid mailbox login push hidden commands into their own IMAP session, potentially manipulating, deleting, or exfiltrating mail content under the guise of normal user activity. Because every standard logged-in user can reach the affected mail/mark function, leadership should treat this as a credential-abuse and insider-risk exposure affecting the entire webmail user base rather than an external intrusion vector, with remediation straightforward via vendor update.
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-107885
GHSA-3p38-q93v-93w8
NVD
CVE.org
EPSS
Exploit-DB