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 stripped newline characters only from the Subject and Organization headers, leaving other header values taken from request parameters unsanitized, so a remote authenticated attacker could inject arbitrary headers into an outgoing message via the References, In-Reply-To, Message-ID and From parameters. Upstream fixed this in the commit “Fix mail header injection via References/In-Reply-To/Message-ID/From parameters”, which normalizes whitespace in every string header value.
Published: 2026-10-22
Score: 5 Medium
EPSS: n/a
KEV: No
Impact: Remote Mail Header Injection
Action: Apply Patch
AI Analysis

Impact

Roundcube Webmail versions before 1.6.20 and 1.7.x before 1.7.5 allow a mail header injection vulnerability that can be leveraged by a remote authenticated attacker. The implementation of the mail sending routine removes newline characters only from the Subject and Organization headers, leaving other header fields derived from request parameters unsanitized. An attacker can therefore inject arbitrary headers such as References, In-Reply-To, Message-ID, and From into the outbound message. This manipulation falls under CWE‑99 and could lead to unintended mail routing, forging of mail metadata or delivery to unintended recipients, compromising the integrity and possibly confidentiality of communications.

Affected Systems

The affected product is Roundcube Webmail. The vulnerability impacts all installations running any version of Roundcube prior to 1.6.20 and any 1.7.x release prior to 1.7.5. Administrators of webmail services running these versions should verify the exact release they host and plan an update accordingly.

Risk and Exploitability

The CVSS score indicates a moderate impact. The exploit requires the attacker to be authenticated on the target webmail instance, but no additional network privilege is needed. No EPSS score is currently available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector involves a legitimate user logging in and composing a new email that includes manipulated values in the affected header fields, which the system then injects into the outgoing message without proper sanitisation.

Generated by OpenCVE AI on October 22, 2026 at 06:15 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Patch Roundcube to version 1.6.20 or later, or 1.7.5 or later
  • Verify that the updated code normalises whitespace for all header fields, particularly References, In-Reply-To, Message-ID, and From
  • Restart the webmail service and monitor mail logs for any unexpected header insertions or anomalies

Generated by OpenCVE AI on October 22, 2026 at 06:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Title Mail Header Injection in Roundcube Webmail

Thu, 22 Oct 2026 02:00: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 stripped newline characters only from the Subject and Organization headers, leaving other header values taken from request parameters unsanitized, so a remote authenticated attacker could inject arbitrary headers into an outgoing message via the References, In-Reply-To, Message-ID and From parameters. Upstream fixed this in the commit “Fix mail header injection via References/In-Reply-To/Message-ID/From parameters”, which normalizes whitespace in every string header value.
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': 5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N'}


Subscriptions

Roundcube Webmail
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-22T01:52:10.894Z

Reserved: 2026-10-22T01:52:10.528Z

Link: CVE-2026-114725

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-22T02:17:00.493

Modified: 2026-10-22T02:17:00.493

Link: CVE-2026-114725

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-22T06:30:17Z

Weaknesses
  • CWE-99

    Improper Control of Resource Identifiers ('Resource Injection')