Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-114726 Overview
CVE-2026-114726 is a mail header injection vulnerability in Roundcube Webmail affecting versions before 1.6.20 and 1.7.x before 1.7.5. The flaw resides in the rcube_mime::decode_address_list() function, which failed to strip control characters from decoded display names. An attacker can craft a message whose From display-name contains CRLF sequences inside an encoded word. When a victim uses the Bounce (resend) action on that message, the malicious display-name injects arbitrary headers into the outbound email. The issue is tracked under CWE-99: Improper Control of Resource Identifiers.
Critical Impact
Attackers can inject arbitrary SMTP headers into messages resent by Roundcube users, enabling email spoofing, recipient manipulation, and abuse of trusted sender infrastructure.
Affected Products
- Roundcube Webmail versions prior to 1.6.20
- Roundcube Webmail 1.7.x versions prior to 1.7.5
- Debian packages tracking Roundcube (see Debian Bug Report #1151279)
Discovery Timeline
- 2026-10-19 - Roundcube publishes security updates 1.6.20 and 1.7.5
- 2026-10-22 - CVE-2026-114726 published to the National Vulnerability Database
- 2026-10-22 - Last updated in the NVD database
Technical Details for CVE-2026-114726
Vulnerability Analysis
The vulnerability affects the Bounce (resend) feature in Roundcube Webmail. When a user bounces a received message, Roundcube reconstructs recipient and sender headers using parsed address lists from the original message. The parser decodes RFC 2047 encoded words in the From display-name but does not sanitize control characters such as carriage return (\\x0D) and line feed (\\x0A) in the decoded output.
Because SMTP headers are delimited by CRLF, embedded control bytes allow an attacker-controlled display-name to terminate the current header and append arbitrary new headers (for example, additional Bcc, Reply-To, or Content-Type fields) to the message Roundcube emits during the bounce.
Root Cause
The root cause is missing input sanitization in rcube_mime::decode_address_list() within program/lib/Roundcube/rcube_mime.php. The function trimmed whitespace from the decoded display-name but did not remove bytes in the \\x00-\\x1F control range, violating header construction expectations.
Attack Vector
An attacker sends a crafted email to a Roundcube user. The From header contains an encoded-word display-name that decodes to a string containing CRLF sequences followed by injected headers. When the recipient performs a Bounce (resend) on the message, Roundcube builds the outbound envelope using the attacker-controlled display-name, and the injected headers propagate to the resent message's downstream recipients.
// Patch from program/lib/Roundcube/rcube_mime.php
// Source: https://github.com/roundcube/roundcubemail/commit/3a136465c965776a5f636587187626985dae4f3b
$out[$j] = $address;
}
else {
- $name = trim($val['name']);
+ // Remove any control characters for security reasons
+ $name = trim(preg_replace('/[\\x00-\\x1F]+/', ' ', $val['name']));
$string = '';
if ($name && $address && $name != $address) {
The fix replaces any run of control characters in the decoded display-name with a single space before the value is used in header construction. An equivalent change was applied in the 1.7.x branch commit.
Detection Methods for CVE-2026-114726
Indicators of Compromise
- Outbound messages from Roundcube hosts containing unexpected Bcc, Reply-To, or duplicate recipient headers that did not originate from the user interface.
- Inbound messages whose From header contains RFC 2047 encoded words decoding to byte sequences in the \\x00-\\x1F range.
- Mail transfer agent (MTA) logs showing resent messages addressed to recipients not entered by the authenticated Roundcube user.
Detection Strategies
- Parse the raw From header of inbound mail and alert on encoded words that decode to control characters, particularly CR (\\x0D) or LF (\\x0A).
- Compare the recipient set of messages emitted by Roundcube's bounce action against the originating user's submitted form data; divergence indicates injection.
- Review Roundcube application logs for Bounce (resend) actions correlated with messages whose source From headers contain encoded words.
Monitoring Recommendations
- Enable verbose logging on the submission MTA fronting Roundcube and retain headers of all outbound messages for post-incident analysis.
- Monitor for abnormal volume of bounced messages from a single Roundcube account, which may indicate automated abuse.
- Forward webmail and MTA logs to a centralized analytics platform to correlate inbound malicious senders with outbound injected traffic.
How to Mitigate CVE-2026-114726
Immediate Actions Required
- Upgrade Roundcube Webmail to version 1.6.20 or version 1.7.5 depending on the deployed branch.
- Apply distribution security updates where Roundcube is installed via a package manager, including Debian updates referenced in bug report #1151279.
- Audit recent outbound mail from Roundcube submission paths for signs of header injection prior to patching.
Patch Information
Upstream fixed the issue in commits 3a136465 and d3a35545, both titled "Fix mail header injection via the From display-name in the Bounce (resend) action." The patches are included in Roundcube 1.6.20 and 1.7.5, announced in the Roundcube security updates notice.
Workarounds
- Disable the Bounce (resend) action for users by removing or restricting the feature through Roundcube plugin configuration until the patch is applied.
- Deploy an MTA submission filter that rejects messages containing CRLF sequences in header field values.
- Restrict Roundcube access to trusted users and networks to limit exposure while patching is pending.
# Verify installed Roundcube version and upgrade
grep -R "RCMAIL_VERSION" /var/www/roundcube/program/include/iniset.php
# Debian/Ubuntu package upgrade
sudo apt-get update
sudo apt-get install --only-upgrade roundcube roundcube-core
# Manual upgrade (branch 1.6.x)
wget https://github.com/roundcube/roundcubemail/releases/download/1.6.20/roundcubemail-1.6.20-complete.tar.gz
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

