Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft GET link with CRLF in _uid
-
DeliveryLure logged-in victim to open mail/show or mail/get
-
ExploitBreak out of IMAP command via injected CRLF
-
ExecutionRun SETACL / delete / flag-change in victim session
-
ImpactMailbox access granted or messages destroyed
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Three concrete conditions must all hold: (1) the Roundcube server must have messages_cache enabled - the injection path is reachable only in that mode; (2) the target victim must already be authenticated/logged into Roundcube, since the injected IMAP commands execute in the victim's own IMAP session; and (3) the victim must actively open an attacker-crafted GET link to the mail/show or mail/get endpoint (UI:A). Limiting factors: the required user interaction and the messages_cache=enabled prerequisite (reflected as AT:P) mean this is not exploitable against default unauthenticated traffic alone; affected software is Roundcube Webmail before 1.6.21 and 1.7.x before 1.7.6, so patched or older-unaffected branches are not at risk. The attacker needs no credentials of their own (PR:N) but cannot act without a logged-in victim. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N, base 7.4) describes a network-reachable flaw an unauthenticated attacker (PR:N) can trigger, but only through active victim interaction (UI:A) and only when a specific precondition holds (AT:P) - namely that the server has messages_cache enabled. This is therefore not a drive-by unauthenticated compromise; it is a victim-lured injection whose real-world reach is gated by both a user clicking a crafted link and a non-universal configuration. On the exploitation-signal side there is no CISA KEV listing and no EPSS score supplied, so there is no public evidence of active or probabilistic exploitation: status is no public exploit identified at time of analysis (the VulnCheck and GitHub links are an advisory and patch commits, not working exploit code). The vuln.today decision label is 'this_week', consistent with a patched, credible but non-emergency issue. Net: a genuine, worth-patching integrity/confidentiality flaw in widely-deployed webmail - a real priority but not an at-all-costs emergency - with the caveat that whether messages_cache is enabled by default is not stated in the sources and is unverified, and no EPSS/KEV data was provided to gauge exploitation likelihood. |
| Exploit ScenarioDerived | An attacker crafts a GET URL to mail/show or mail/get with CRLF sequences embedded in the _uid parameter and lures an already-logged-in Roundcube user into opening it. When the victim's browser issues the request against a server with messages_cache enabled, the injected bytes break out of the intended IMAP command and run attacker-chosen IMAP commands in the victim's session, such as deleting messages, flipping flags, or running SETACL to grant the attacker mailbox access. No public working exploit is identified, though the patch commits publicly reveal the vulnerable _uid handling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 11, 2026
IMAP command injection in Roundcube Webmail (all versions before 1.6.21, and 1.7.x before 1.7.6) lets an unauthenticated remote attacker (CVSS 4.0 PR:N, base 7.4) smuggle CRLF sequences into the internal _uid parameter when the server has messages_cache enabled, injecting arbitrary IMAP commands into the victim's own mail session. Exploitation requires a victim who is already logged in and who actively opens an attacker-crafted GET link to the mail/show or mail/get endpoint (UI:A), with the messages_cache prerequisite reflected as AT:P; the injected commands run with the victim's IMAP privileges and can delete messages, alter flags, or grant mailbox access via SETACL. A vendor fix exists in 1.6.21 and 1.7.6 and the underlying commits are public, but no public exploit code or confirmed in-the-wild activity was identified at time of analysis; the flaw is tracked as this_week remediation priority.
RemediationAI
Vendor-released patch: Roundcube Webmail 1.6.21 (for the 1.6.x branch) and 1.7.6 (for the 1.7.x branch) - upgrade to the release matching your branch per https://roundcube.net/news/2026/11/09/security-updates-1.6.21-and-1.7.6, with the code changes visible in commits 4cb1cf106b9ca5d465ed4924f2fab5d5108edfeb, d1dda13597ceed9df49d434a8d88b758bcf6ef5c and 2ea63692178cab5cea486c7c630901b7f6852c80. Because the assessment identifies messages_cache as the precondition that makes the injection path reachable, disabling that option is the documented code-level mitigating control where an immediate upgrade is not possible; the trade-off is loss of the message cache, which increases IMAP round-trips and backend load for active users, so it should be treated as a temporary measure until the patched release is deployed. Applying the fix is prioritized for this week per the current vulnerability decision label, and patched instances should be verified to report 1.6.21 or 1.7.6 rather than relying on the changelog entry alone.
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's IMAP client layer (program/lib/Roundcube/rcube_imap_generic.php) builds raw IMAP protocol strings in PHP and sends them over a socket, so any unvalidated value concatenated into a command becomes part of the protocol stream. The root cause is CWE-93 (Improper Neutralization of CRLF Sequences), i.e. the _uid value reaching functions such as fetchHeaderIndex, sortHeaders, fetchPartHeader, handlePartBody and the rcube_message constructor was only loosely filtered - the pre-fix check in rcmail_action.php::get_uids used the regex /^[0-9:.]+$/ without an end anchor, so a trailing CRLF could slip past, and several call sites in the IMAP library performed no character-set validation at all. The published commits confirm the shape of the fix: the validation regex is anchored with \z, additional guards preg_match('/[^0-9:,*]/', ...) are added to reject message-set strings containing anything other than digits, colons, commas and asterisks, and part identifiers are sanitized with preg_replace('/[\r\n]+/', ' ', ...). The messages_cache precondition matters because the cached path is what routes the tainted _uid value into the IMAP command builder; without the cache enabled the injection path is not reachable per the assessed vector (AT:P). Per the CPE cpe:2.3:a:roundcube:webmail, the affected component is the Roundcube webmail application itself rather than the underlying MTA or IMAP server; the vulnerability lies in Roundcube's client-side protocol construction, not in the mail store.
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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Network-reachable and unauthenticated (AV:N/PR:N) but needs a logged-in victim to click (UI:R) and the non-universal messages_cache condition (AC:H); SETACL/mailbox access gives C:H and delete/flag changes give I:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Roundcube Webmail before 1.6.21 and 1.7.x before 1.7.6 contains an IMAP command injection vulnerability that allows attackers to inject commands via CRLF in the _uid parameter when messages_cache is enabled. Attackers can lure logged-in victims into opening crafted GET links to mail/show or mail/get, executing IMAP commands that delete messages, change flags, or grant mailbox access via SETACL.
Executive ViewAI
Roundcube Webmail vulnerabilities (before 1.6.21 and 1.7.x before 1.7.6) allow unauthenticated attackers to inject IMAP commands into a logged-in user's session when messages_cache is enabled, potentially leading to mailbox manipulation or data theft. Leadership should prioritize this because email is a critical business system, and a compromise could disrupt operations and expose sensitive communications. Although no active exploitation has been observed, the availability of a vendor patch makes immediate remediation low-effort and high-value.
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-124028
GHSA-vch9-h7xh-rp47
NVD
CVE.org
EPSS
Exploit-DB