Skip to main content

Roundcube Webmail CVE-2026-114717

| EUVDEUVD-2026-107809 MEDIUM
Improper Control of Resource Identifiers ('Resource Injection') (CWE-99)
2026-10-22 mitre GHSA-8246-wqv2-g48f
4.0
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Send email with crafted CRLF subject
  2. Exploit
    Victim forwards received message as attachment
  3. Execution
    Subject used verbatim as MIME attachment name
  4. Impact
    Arbitrary MIME part headers injected into outgoing mail

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 the attacker to deliver an email whose subject contains CRLF sequences to a Roundcube Webmail user running a version before 1.6.20 or 1.7.x before 1.7.5, AND requires that victim to subsequently forward the received message using the 'forward as attachment' compose feature - it is this feature that copies the subject verbatim into the generated attachment (MIME part) name. Limiting factors: the attack cannot succeed without the specific victim-initiated forward-as-attachment action (effective user interaction not reflected in the input UI:N), it is confined to MIME part header injection with only a low integrity impact, and it yields no confidentiality or availability loss and no code execution.

Impact

This is a genuinely low-to-moderate priority issue despite the scope-change in the vector. The input CVSS 4.0 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N) reflects a network vector with high attack complexity, no required privileges, and only a LOW integrity impact (no confidentiality or availability loss) - the scope change (S:C) is what inflates an otherwise minor header-injection flaw. No EPSS score was provided, there is no CISA KEV listing, and no public exploit was supplied, so exploitation signals point to no public exploit identified at time of analysis. CONFLICTING SIGNAL: the vector states UI:N, but the description makes clear a victim user must actively forward a received message 'as an attachment' for the injection to occur - this is user interaction, so the UI:N metric appears understated and real-world triggering depends on a specific victim action. Combined with AC:H, this is a vendor-patched, low-impact integrity flaw that should be remediated on a normal patch cycle rather than treated as an emergency.

Exploit ScenarioDerived

An attacker sends an email to a Roundcube user with a subject line containing CRLF sequences. When that user later forwards the received message as an attachment, Roundcube uses the subject verbatim as the attachment name, allowing the embedded CRLF to inject arbitrary MIME part headers into the outgoing message. No public exploit code was identified; exploitation requires the victim to perform the forward-as-attachment action.

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 before 1.6.20 and 1.7.x before 1.7.5 lets a remote attacker inject arbitrary MIME part headers into an outgoing message when a victim forwards a crafted email as an attachment, because the received subject is reused verbatim as the generated attachment name without neutralizing CRLF sequences. Exploitation is not automatic: it requires the victim to receive the crafted message and then invoke the 'forward as attachment' compose action, and the assessed impact is limited to low integrity with no confidentiality or availability loss and no code execution (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N). Fixes are available in Roundcube 1.6.20 and 1.7.5; no public exploit was identified at time of analysis.

RemediationAI

Upgrade to Roundcube Webmail 1.6.20 or 1.7.5, which contain the vendor fix (advisory: https://roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5; release tags: https://github.com/roundcube/roundcubemail/releases/tag/1.6.20 and https://github.com/roundcube/roundcubemail/releases/tag/1.7.5). If an immediate upgrade is not possible, backport the upstream commit 4c3291ce9df9e1d3b45330d0854d65cd8efbeee9 (or the corresponding 1.6.x commit c325953a251d0132f1909569b3eac0b974095dd4), which collapses whitespace in the generated attachment name and defaults it to 'message_rfc822'; this is a small, targeted change but requires code deployment and regression testing of the compose/forward flow. Because there is no reliable configuration toggle for this specific code path, the main compensating control is to restrict or disable the forward-as-attachment compose option for untrusted users where operationally feasible, accepting reduced user functionality; MTA-level subject filtering is not a dependable substitute because Roundcube reads the stored subject via IMAP and legitimate messages can contain unusual whitespace.

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 Webmail is a PHP-based IMAP webmail client; the vulnerable code path is program/actions/mail/compose.php::write_forward_attachments(), which builds the MIME part name for a message forwarded as a message/rfc822 attachment. Prior to the fix, the received message subject was copied directly into that name (truncated to 64 characters), so CRLF sequences in the subject could break out of the attachment's Content-Type/name parameter context and inject attacker-controlled MIME part headers into the outgoing message. The upstream commit 4c3291ce9df9e1d3b45330d0854d65cd8efbeee9 changes this to default the name to 'message_rfc822' and, when a subject is present, collapse all whitespace (notably \r and \n) to single spaces, trim, and then truncate to 64 characters. The assigned CWE-99 (Improper Control of Resource Identifiers) describes the root cause class: an untrusted inbound value is used to construct a resource identifier (the MIME attachment name) without proper neutralization. Scope is changed (S:C) because the injection crosses from the inbound message's subject into the structure of the outgoing message; the practical effect is limited to low integrity, with no confidentiality or availability impact.

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 4.0 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
vuln.today AI 3.4 LOW

Attacker needs no privileges to send the crafted email (PR:N), but exploitation depends on the victim forwarding it as attachment (UI:R, AC:H); only outgoing-message integrity is affected (I:L, S:C, C:N/A:N).

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:A/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
High
Privileges Required
None
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 when a message is forwarded as an attachment. The subject of the forwarded message was used verbatim to generate the attachment name, so a received message whose subject contains CRLF sequences could inject arbitrary MIME part headers into the outgoing message. Upstream fixed this in the commit “Fix mail header injection via subject of a message forwarded as attachment”, which collapses whitespace in the generated name.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
widely deployed open-source webmail across many hosting providers
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

20
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +20
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