---
id: "CVE-2020-12641"
kind: "vulnerability"
aliases: ["CVE-2020-12641"]
title: "rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell\u2026"
severity: "critical"
cvss: 9.8
epss: null
exploited: true
status: "open"
category: "package"
products: [{"name": "Roundcube Roundcube Webmail", "fixed": [], "affected": "", "ecosystem": "vendor"}, {"name": "roundcube webmail", "fixed": ["1.2.10"], "affected": ">= 1.2.0, < 1.2.10", "ecosystem": "vendor"}, {"name": "roundcube webmail", "fixed": ["1.3.11"], "affected": ">= 1.3.0, < 1.3.11", "ecosystem": "vendor"}, {"name": "roundcube webmail", "fixed": ["1.4.4"], "affected": ">= 1.4.0, < 1.4.4", "ecosystem": "vendor"}, {"name": "opensuse backports sle", "fixed": [], "affected": "= 15.0", "ecosystem": "vendor"}, {"name": "opensuse leap", "fixed": [], "affected": "= 15.1", "ecosystem": "vendor"}, {"name": "opensuse leap", "fixed": [], "affected": "= 15.2", "ecosystem": "vendor"}]
ecosystems: ["vendor"]
tags: ["exploited", "mail", "package", "php", "roundcube", "self-hosted"]
not_affected_if: ["default-config", "managed-hosting"]
published_at: "2020-05-04T15:15:14+00:00"
first_seen_at: "2026-10-23T19:11:51+00:00"
updated_at: "2026-10-23T22:29:04+00:00"
sources: [{"source": "kev", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-12641", "first_seen_at": "2026-10-23T19:11:51+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-12641", "first_seen_at": "2026-10-23T22:29:04+00:00"}]
---

# rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell…

Roundcube Webmail, a web mail client, has a remote code execution flaw: shell metacharacters in the im_convert_path or im_identify_path configuration setting are passed to a shell. An attacker who can set those values can run arbitrary commands on the server.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- vendor:Roundcube Roundcube Webmail affected ? fixed ?
- vendor:roundcube webmail affected >= 1.2.0, < 1.2.10 fixed 1.2.10
- vendor:roundcube webmail affected >= 1.3.0, < 1.3.11 fixed 1.3.11
- vendor:roundcube webmail affected >= 1.4.0, < 1.4.4 fixed 1.4.4
- vendor:opensuse backports sle affected = 15.0 fixed ?
- vendor:opensuse leap affected = 15.1 fixed ?
- vendor:opensuse leap affected = 15.2 fixed ?

## How to check

Look at the Roundcube config file (config/config.inc.php) for im_convert_path and im_identify_path; unknown whether the sources give a version check.

## Fix

Update Roundcube Webmail to a fixed release per vendor instructions (CISA KEV required action); exact fixed version unknown from the sources.

## Timeline

- 2026-10-23T19:11:51+00:00 kev https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2020-12641
- 2026-10-23T22:29:04+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2020-12641

## From the sources

Roundcube Webmail contains an remote code execution vulnerability that allows attackers to execute code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.

CISA required action: Apply updates per vendor instructions.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
