Description
In Roundcube Webmail before 1.6.18 and 1.7.x before 1.7.3, the cmd_learn driver of the markasjunk plugin is subject to remote code execution via crafted placeholder replacement values. This issue only affects Roundcube instances using the markasjunk plugin with its cmd_learn driver.
Published: 2026-08-17
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability in the markasjunk plugin’s cmd_learn driver allows an attacker to execute arbitrary system commands on a Roundcube Webmail server. The flaw is triggered when a crafted placeholder replacement value is processed, leading to an OS command injection. The impact is full remote code execution, potentially compromising confidentiality, integrity, and availability of affected systems.

Affected Systems

The flaw affects Roundcube Webmail installations that use the markasjunk plugin with the cmd_learn driver. Versions before 1.6.18 and before 1.7.3 are vulnerable. All other Roundcube versions and installations not using this plugin are not affected.

Risk and Exploitability

The vulnerability has a CVSS score of 8.8, signifying high severity. Exploitation requires the ability to submit crafted placeholder replacement data to the plugin, which is likely achievable via a web request to the affected server. The EPSS score is not available and the issue is not listed in CISA’s KEV catalog, but the lack of a public exploit does not diminish the potential risk. The attack vector is presumably remote, and successful exploitation could give an attacker full control over the affected webmail host.

Generated by OpenCVE AI on August 17, 2026 at 14:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Roundcube to version 1.6.18 or newer, or to 1.7.3 or newer, which contain a fix for the cmd_learn driver.
  • If an update cannot be applied immediately, disable the markasjunk plugin or remove the cmd_learn driver to eliminate the code injection path.
  • Apply input validation or strict placeholder replacement restrictions on the plugin to prevent arbitrary command execution.

Generated by OpenCVE AI on August 17, 2026 at 14:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4760-1 roundcube security update
Debian DSA Debian DSA DSA-6479-1 roundcube security update
History

Mon, 17 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 17 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
Title Remote Code Execution in Roundcube MarkAsJunk Plugin via Crafted Placeholder Values

Mon, 17 Aug 2026 13:00:00 +0000

Type Values Removed Values Added
Description In Roundcube Webmail before 1.6.18 and 1.7.x before 1.7.3, the cmd_learn driver of the markasjunk plugin is subject to remote code execution via crafted placeholder replacement values. This issue only affects Roundcube instances using the markasjunk plugin with its cmd_learn driver.
First Time appeared Roundcube
Roundcube webmail
Weaknesses CWE-78
CPEs cpe:2.3:a:roundcube:webmail:*:*:*:*:*:*:*:*
Vendors & Products Roundcube
Roundcube webmail
References
Metrics cvssV3_1

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


Subscriptions

Roundcube Webmail
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-17T14:34:26.557Z

Reserved: 2026-08-17T12:37:44.639Z

Link: CVE-2026-74997

cve-icon Vulnrichment

Updated: 2026-08-17T14:34:22.480Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-17T13:16:54.100

Modified: 2026-09-01T21:04:08.583

Link: CVE-2026-74997

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T15:15:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')