CVE-2026-114720

roundcubemail: roundcubemail: Arbitrary IMAP command execution via CRLF injection in the _flag parameter

Published Oct 22, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an IMAP command injection vulnerability. A remote authenticated attacker can exploit this via CRLF sequences injected into the _flag parameter of the mail/mark action to execute arbitrary IMAP commands. Upstream fixed this in the commit “Fix IMAP command injection via CRLF in `_flag` parameter of mail/mark action”, which rejects flags containing control, whitespace and IMAP-special characters.

Analysis

AI-generated

Technical impact

Roundcube Webmail versions before 1.6.20 and 1.7.x before 1.7.5 have a flaw that allows a remote authenticated user to inject arbitrary IMAP commands. The vulnerability arises from accepting CRLF sequences in the _flag parameter of the mail/mark action, which the server forwards to the IMAP backend. If exploited, attackers can issue commands such as EXPUNGE, APPEND, or other mailbox manipulation commands, potentially deleting messages or altering mailbox state, thereby compromising data integrity and availability.

Affected Systems

All deployments of Roundcube Webmail running the affected versions are impacted. This includes package builds and installations that have not been updated to Roundcube 1.6.20 or 1.7.5. Administrators should verify the installed version against the release notes for these fixes.

Risk and Exploitability

The CVSS score of 7.1 reflects high severity, while the EPSS score is not available, making the current risk level uncertain but potentially significant for environments with exposed Roundcube instances. The vulnerability is not listed in the CISA KEV catalog, however a remote authenticated attacker can exploit it via the webmail interface by submitting a specially crafted request that includes CRLF injections in the _flag field. No additional conditions beyond authentication are required, meaning any user with valid credentials to the webmail system could attempt the attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade your Roundcube Webmail installation to version 1.6.20 or later, or 1.7.5 or later, which removes the flaw by rejecting flags that contain control characters, whitespace, or IMAP‑special characters.
  • Verify that the input validation for the _flag parameter is active in your configuration and that no custom code bypasses this check.
  • Monitor the mail server logs for unexpected IMAP commands or anomalous mailbox activity, and apply additional logging or alerting if suspicious events are detected.

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

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4910-1 roundcube security update
Debian DSA Debian DSA DSA-6579-1 roundcube security update
History
Type Values Removed Values Added
Title IMAP Command Injection via _flag Parameter in Roundcube Webmail roundcubemail: roundcubemail: Arbitrary IMAP command execution via CRLF injection in the _flag parameter
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Title IMAP Command Injection via _flag Parameter in Roundcube Webmail
Type Values Removed Values Added
Description Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by an IMAP command injection vulnerability. A remote authenticated attacker can exploit this via CRLF sequences injected into the _flag parameter of the mail/mark action to execute arbitrary IMAP commands. Upstream fixed this in the commit “Fix IMAP command injection via CRLF in `_flag` parameter of mail/mark action”, which rejects flags containing control, whitespace and IMAP-special characters.
First Time appeared Roundcube
Roundcube webmail
Weaknesses CWE-93
CPEs cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*
Vendors & Products Roundcube
Roundcube webmail
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 26, 2026, 4:46 PM
Reserved
Oct 22, 2026, 1:32 AM
Status
Analyzed
Published
Oct 22, 2026, 2:16 AM
Modified
Oct 30, 2026, 2:59 PM
Severity
Important
Public date
Oct 22, 2026, 1:32 AM