Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Roundcube mailbox
-
DeliveryCompose HTML mail with inline data-URI image
-
ExploitEmbed CRLF in image media type
-
ExecutionInjected MIME headers emitted into outgoing message
-
ImpactDownstream recipients/MTA process forged headers
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Resource identifier sanitization
|
| Exploitation Conditions | Exploitation requires an authenticated Roundcube account (PR:L - any valid, even low-privilege mailbox user) and use of the standard HTML compose feature with an inline image supplied as a data URI; the attacker must control the media-type portion of that data URI and insert CRLF sequences into it, which the vulnerable extract_inline_images() passed through unvalidated. No special non-default configuration is required - inline-image handling on message send is core functionality - and no victim interaction is needed. The principal limiting factor is the authentication requirement: the attacker must already possess valid webmail credentials, so this is not exploitable by fully anonymous remote attackers. Affected deployments are Roundcube before 1.6.20 and 1.7.x before 1.7.5; patched versions reject invalid media types. |
| Impact | This is a credible, above-average-priority issue for organizations running Roundcube, but not an emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N, 8.5 High) is internally consistent with the description: network-reachable, low-complexity, requires an authenticated low-privilege user (PR:L = any valid mailbox account), no victim interaction, with the scope change reflecting that injected MIME headers affect the outgoing message and downstream recipients rather than only the Roundcube host. The high score is driven largely by S:C and I:H (header injection = integrity of the composed message). No EPSS score was supplied, and KEV status is not set, so there is no evidence of active exploitation - treat it as 'no public exploit identified at time of analysis.' No POC was provided either, though the upstream fix commit includes a detailed regression test (injecting 'test/test\r\nX-Inject:test') that effectively documents the exploitation technique and lowers the bar for weaponization. Net: real priority for Roundcube operators because it is default-feature, authenticated-but-low-privilege, and patched upstream; it is NOT an unauthenticated RCE and the actual data-integrity/confidentiality impact (C:L) is modest, so it ranks below internet-facing pre-auth flaws. Note the signal gap explicitly: EPSS and KEV data are absent from the input, so widespread-exploitation likelihood cannot be quantified from the provided data. |
| Exploit ScenarioDerived | A remote attacker who holds a valid, low-privilege Roundcube mailbox account composes an HTML email containing an inline image embedded as a data URI, and places CRLF sequences inside the image's media type (e.g. 'data:image/png\r\nX-Inject:evil;base64,...'). Because extract_inline_images() used that media type to build the MIME part without validation, the attacker-controlled CRLF injects arbitrary MIME part headers into the outgoing message. No public exploit is identified, but the upstream fix commit ships a regression test that demonstrates the exact injection payload. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 22, 2026
Mail header injection in Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 allows any authenticated mailbox user to inject arbitrary MIME part headers into an outgoing message by placing CRLF sequences in the media type of an inline-image data URI, rated CVSS 8.5 with high integrity impact and changed scope. The flaw sits in rcmail_sendmail::extract_inline_images(), which used the attacker-controlled media type without validation; exploitation needs the standard HTML compose feature and no victim interaction, but it is not available to unauthenticated remote attackers. The vendor has released fixed versions, and there is no public exploit identified at time of analysis.
RemediationAI
Vendor-released patch: Roundcube Webmail 1.6.20 and 1.7.5. Upgrade to one of those releases (or later) per the advisory at https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5; backporters can apply upstream commits 7f3cc9cacb16cb3ab047fe8e3cba81db2023cdfc and adb9b9b3fd43e30af1c166b79494726d89f828eb, which add rcube_mime::is_mimetype_valid() validation. If immediate upgrade is not possible, restrict webmail accounts to trusted users and monitor outbound mail for unexpected MIME headers, accepting that any authenticated account can still trigger the injection; these are compensating controls, not a fix.
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-based IMAP webmail client that builds MIME messages for outgoing mail, including HTML bodies with inline images supplied as data URIs. In the vulnerable extract_inline_images() path, the media type parsed from a data URI was used to construct MIME part headers after only an empty check, so a value containing CRLF could terminate the intended header and add arbitrary MIME part headers. The assigned CWE-99 (Improper Control of Resource Identifiers / Resource Injection) reflects the class of using unvalidated attacker-controlled identifier data in message construction; the concrete effect here is CRLF-based MIME header injection. The upstream fix adds rcube_mime::is_mimetype_valid() to reject malformed media types before MIME parts are built. The CPE cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:* covers the affected product family, with 1.6.20 and 1.7.5 as the fixed releases.
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:C/C:L/I:H/A:N
Authenticated low-priv user over the network with no interaction (PR:L, AV:N, UI:N); scope changes because injected headers affect recipients/MTA (S:C) with high integrity impact and limited confidentiality, no availability effect.
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 a mail header injection vulnerability. rcmail_sendmail::extract_inline_images() used the media type taken from an inline image data URI without validating it, so a remote authenticated attacker could inject arbitrary MIME part headers into the outgoing message by placing CRLF sequences in that media type. Upstream fixed this in the commit “Fix mail header injection via media type in an inline image data URI”, which validates the media type with rcube_mime::is_mimetype_valid().
Executive ViewAI
Roundcube Webmail deployments running versions before 1.6.20 or 1.7.x before 1.7.5 are exposed to a mail header injection flaw that can let a mailbox user with HTML compose insert crafted MIME headers into outgoing messages. This weakens email integrity and could enable spoofed or malformed messages that appear to originate from the organization, affecting brand trust and downstream recipients. No public exploit identified at time of analysis, and the vendor has released fixed versions 1.6.20 and 1.7.5.
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Related Vulnerabilities in Roundcube Webmail Injection and Auth Flaws
View all 5Roundcube 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-107808
GHSA-cvhp-44hv-w2ph
NVD
CVE.org
EPSS
Exploit-DB