Skip to main content

Roundcube Webmail CVE-2026-114725

| EUVDEUVD-2026-107702 MEDIUM
Improper Control of Resource Identifiers ('Resource Injection') (CWE-99)
2026-10-22 mitre GHSA-wc9x-qc4f-7pj3
5.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to Roundcube webmail
  2. Delivery
    Craft send request with CRLF in References/In-Reply-To/Message-ID/From
  3. Exploit
    Bypass partial newline stripping
  4. Execution
    Inject arbitrary headers into outgoing message
  5. Impact
    Deliver spoofed/manipulated mail

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Resource identifier sanitization
Exploitation Conditions

Requires an authenticated Roundcube session (valid webmail login), consistent with CVSS PR:L - this is the primary limiting factor and confines abuse to account holders, compromised accounts, or self-service/guest-account deployments. The attacker must control the References, In-Reply-To, Message-ID, or From request parameters of the message-send (rcmail_sendmail headers_input) flow and include CRLF/newline characters; the Subject and Organization headers are NOT viable because they were already sanitized before this fix. Affected deployments are Roundcube Webmail before 1.6.20 and any 1.7.x before 1.7.5. No special non-default feature or configuration toggle is required and no user interaction by a victim is needed to inject the headers.

Impact

This is a genuine but moderate-priority issue, not a top-tier emergency. The CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N, base 5.0 Medium) indicates network-reachable, low-complexity exploitation that requires authentication (PR:L) and no user interaction, with only a low integrity impact and a scope change (the injected headers affect the outgoing message/recipients rather than the Roundcube host itself). The authentication requirement is the dominant limiting factor: an attacker must already hold valid webmail credentials, which contains this to insider misuse, compromised accounts, or environments offering self-service/guest accounts. No EPSS score, CISA KEV listing, SSVC decision, or POC indicator was provided in the input, so there is no signal of active exploitation or published exploit code - consistent with a low-to-moderate real-world threat. The vendor confirms a patch (Roundcube advisory 1.6.20/1.7.5 and the fixing commit), and the code evidence corroborates the root cause, so the technical claim is solid. Net: a legitimate hardening/patch priority for Roundcube operators, but absent exploitation signals it is a routine-severity fix rather than a drop-everything incident. No conflicting signals between CVSS and description were found; both agree on authenticated remote abuse.

Exploit ScenarioDerived

A remote attacker with valid webmail credentials (or control of a compromised Roundcube account) composes a message and supplies crafted References, In-Reply-To, Message-ID, or From request parameters containing CRLF/newline sequences. Because rcmail_sendmail only stripped newlines from Subject and Organization, the attacker smuggles additional arbitrary headers (e.g. extra Bcc/recipients or spoofed routing headers) into the outgoing mail. No public exploit identified at time of analysis; exploitation requires authentication and no user interaction.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 22, 2026

Mail header injection in Roundcube Webmail (all versions before 1.6.20 and 1.7.x before 1.7.5) lets a logged-in webmail user smuggle arbitrary headers into an outgoing message by placing CRLF sequences in the References, In-Reply-To, Message-ID, or From request parameters processed by rcmail_sendmail. The primary limiting factor is authentication (CVSS PR:L): only account holders, compromised accounts, or self-service/guest registrations can reach the compose-and-send flow, and the assessed impact is integrity-only with a scope change rather than code execution or data disclosure. No public exploit identified at time of analysis, and the issue is a moderate-priority correctness fix rather than a top-tier emergency; vendor patches exist in 1.6.20 and 1.7.5.

RemediationAI

Vendor-released patch: upgrade to Roundcube Webmail 1.6.20 (1.6.x branch) or 1.7.5 (1.7.x branch), per the advisory at https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 and the release tags at https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 and https://github.com/roundcube/roundcubemail/releases/tag/1.7.5; the underlying fixes are commits acd32a86f631dd6dcda8ac3ec7bd9ba4d4c0c117 and 79adcfc0c48012bbbe930278471425027fd7331c, which normalize whitespace in all string header values, so distributors can backport either patch rather than the full release. If an immediate upgrade is not possible, the practical compensating controls are to tighten who can reach the compose flow - disable self-registration and guest/self-service account creation, and suspend dormant or shared mailboxes that could be used as injection origins - accepting the operational cost of manual account provisioning; additionally, apply outbound MTA header-integrity rules that reject or strip messages containing duplicate or unexpected References, In-Reply-To, Message-ID, or From headers, understanding this only catches the symptom downstream and may cause false positives on legitimate mailing-list or forwarder traffic. Because exploitation requires a valid webmail login, prompt credential rotation and session invalidation for suspected compromised accounts limits exposure, but patching remains the only complete fix.

Affected VersionsENISA

Webmail 1.7.0 <1.7.5
Webmail 1.6.0 <1.6.20

Affected Packages

euvd webmail fix: 1.6.20, 1.7.5

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 is a PHP-based IMAP webmail client; the affected code is program/include/rcmail_sendmail.php, whose headers_input() method assembles the outbound MIME headers from request parameters before handing the message to the MTA. The root cause is inconsistent sanitization: prior to the fix, only the Subject and Organization header values were passed through preg_replace('/[\r\n]+/', ' ', ...), while other string header values taken directly from the compose request (References, In-Reply-To, Message-ID, From) were inserted verbatim. Because these values reach the raw header block, embedded CR/LF sequences terminate the current header line and start attacker-chosen ones, the classic header-injection pattern (tracked here under CWE-99, code injection, in the CVE record). The upstream commit normalizes whitespace in every string header value via trim(preg_replace('/[\r\n\t\s]+/', ' ', $value)) and removes the now-redundant per-header handling for Subject and Organization, so the injection primitive is closed uniformly rather than header-by-header. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N) correctly reflects that the attacker must be an authenticated webmail user, no victim interaction is required, confidentiality and availability are untouched, and scope changes because injected headers propagate into downstream mail transport and the recipient's client, outside the Roundcube component itself.

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 (mitre) PRIMARY 5.0 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
vuln.today AI 5.0 MEDIUM

Network-reachable send flow (AV:N) with no special preconditions (AC:L) but requires a valid login (PR:L); injected headers alter the outgoing message affecting a separate system/recipients (S:C, I:L), with no confidentiality or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
None

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 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.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
widely deployed open-source webmail, common in shared hosting and cPanel environments
Social Media
1
Sightings
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
High

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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

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