Description
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().
Published: 2026-10-22
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: MIME Header Injection via Inline Image Media Type
Action: Patch
AI Analysis

Impact

Roundcube Webmail versions prior to 1.6.20 and 1.7.5 allow a remote authenticated attacker to embed carriage‑return line‑feed sequences in the media type of an inline image data URI. The extraction routine then accepts this unvalidated media type and injects the embedded CRLFs as MIME part headers into the outgoing message. The attacker can therefore add arbitrary headers such as To, CC, From, X-Header or any custom header, enabling email forging, manipulation of delivery, or delivery of malicious payloads. This vulnerability is an input validation issue (CWE-99) that affects the confidentiality and integrity of outbound email communications.

Affected Systems

Roundcube Webmail v1.6.x before 1.6.20 and v1.7.x before 1.7.5 are vulnerable. Any installation of these releases that permits sending emails with inline images is susceptible to exploitation.

Risk and Exploitability

The CVSS score of 8.5 indicates high severity. EPSS is low at < 1% and the flaw is not listed in CISA KEV. The attack requires the attacker to be a logged‑in user capable of composing an email containing an inline image. Once authenticated, the attacker can craft the media type to inject headers, making exploitation straightforward if the user can send such an email. The vulnerability is likely to be exploitable because the attack vector is directly exposed through the user interface that accepts inline images. The risk remains high until the patch is applied.

Generated by OpenCVE AI on October 31, 2026 at 13:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Roundcube to version 1.6.20 or later 1.7.5, which includes validation of the media type in rcube_sendmail::extract_inline_images()
  • Disable inline image support in the Roundcube configuration (set $config['compose']['allow_inline_images'] = false) until the patch can be applied
  • Review outbound email logs for unexpected or suspicious header modifications that may indicate exploitation attempts

Generated by OpenCVE AI on October 31, 2026 at 13:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6579-1 roundcube security update
History

Sat, 31 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Title roundcubemail: roundcubemail: Mail header injection via unvalidated inline image media type
Weaknesses CWE-93
References
Metrics threat_severity

None

threat_severity

Important


Mon, 26 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 22 Oct 2026 01:45:00 +0000

Type Values Removed Values Added
Description 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().
First Time appeared Roundcube
Roundcube webmail
Weaknesses CWE-99
CPEs cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*
Vendors & Products Roundcube
Roundcube webmail
References
Metrics cvssV3_1

{'score': 8.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:H/A:N'}


Subscriptions

Roundcube Webmail
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-26T16:46:46.624Z

Reserved: 2026-10-22T01:17:44.860Z

Link: CVE-2026-114716

cve-icon Vulnrichment

Updated: 2026-10-26T16:41:23.811Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-22T02:16:59.077

Modified: 2026-10-30T15:12:48.210

Link: CVE-2026-114716

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-22T01:17:45Z

Links: CVE-2026-114716 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-31T14:00:16Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

  • CWE-99

    Improper Control of Resource Identifiers ('Resource Injection')