Skip to main content

Roundcube Webmail CVE-2026-126813

| EUVDEUVD-2026-124028 HIGH
Improper Neutralization of CRLF Sequences ('CRLF Injection') (CWE-93)
2026-11-11 VulnCheck GHSA-vch9-h7xh-rp47
7.4
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Craft GET link with CRLF in _uid
  2. Delivery
    Lure logged-in victim to open mail/show or mail/get
  3. Exploit
    Break out of IMAP command via injected CRLF
  4. Execution
    Run SETACL / delete / flag-change in victim session
  5. Impact
    Mailbox 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.

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

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

Alert me

AnalysisAIv1 – 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

Webmail 0 <1.6.21
Webmail 1.7.0 <1.7.6

Affected Packages

euvd webmail fix: 1.6.21, 1.7.6

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

Vendor (VulnCheck) PRIMARY 7.4 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Red Hat 6.8 MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.1%
Top 35% exploitable
Prevalence
High
Roundcube is a very widely deployed open-source webmail, common on shared/cPanel hosting
Data Quality
5 sources
Confidence: Medium

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 No
EPSS 1.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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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-2026-48842 HIGH POC
8.1 May 25

Pre-authentication SQL injection in Roundcube Webmail's virtuser_query plugin allows unauthenticated remote attackers to

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

Vendor StatusVendor

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