---
id: CVE-2026-74997
title: >-
  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
summary: >-
  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 th…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
vendor: roundcube
product: webmail
affected:
  - 'webmail >= 1.6.0, < 1.6.18'
  - 'webmail >= 1.7.0, < 1.7.3'
patched:
  - webmail 1.7.3
published: '2026-08-17'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T19:09:05.140'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74997'
references:
  - url: >-
      https://github.com/roundcube/roundcubemail/commit/14044f843cfacbe78b042f659e379d6b4497aa7c
    label: cve@mitre.org
  - url: >-
      https://github.com/roundcube/roundcubemail/commit/495d211638f222336b20f4744545c53712426c2a
    label: cve@mitre.org
  - url: >-
      https://github.com/roundcube/roundcubemail/commit/b8f90e28a46d42e79a69568cba897f8f4223d9cd
    label: cve@mitre.org
  - url: 'https://github.com/roundcube/roundcubemail/releases/tag/1.6.18'
    label: cve@mitre.org
  - url: 'https://github.com/roundcube/roundcubemail/releases/tag/1.7.3'
    label: cve@mitre.org
  - url: 'https://roundcube.net/news/2026/08/09/security-updates-1.6.18-and-1.7.3'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.01134
epssPercentile: 0.65048
ingestedAt: '2026-09-08T20:10:03.157Z'
---

## Overview

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.

## Affected

- `webmail >= 1.6.0, < 1.6.18`
- `webmail >= 1.7.0, < 1.7.3`

## Remediation

Upgrade past the affected range:

- `webmail 1.7.3`
