# CVE-2020-12641: Roundcube Webmail Remote Code Execution Vulnerability

Source: https://junglewise.ai/threats/cve-2020-12641-roundcube-webmail-remote-code-execution-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-06-22. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2020-12641 · Severity: critical · CVSS 9.8 · Exploited in the wild · Published 2023-06-22

rcube_image.php in Roundcube Webmail before 1.4.4 allows remote attackers to execute arbitrary code via shell metacharacters in the im_convert_path or im_identify_path configuration settings. This command injection vulnerability stems from improper neutralization of special elements used in an OS command.

Technologies: [Roundcube Webmail](https://junglewise.ai/threats/technologies/webmail). Vendors: [Roundcube](https://junglewise.ai/threats/vendors/roundcube).

## Quick answers

**Is CVE-2020-12641 exploited in the wild?** Yes. CVE-2020-12641 is known to be exploited in the wild, first recorded on 22 June 2023. Treat it as urgent.

**How severe is CVE-2020-12641?** Critical severity, with a CVSS score of 9.8, published 22 June 2023.

**Which products and versions are affected?** Roundcube Webmail before 1.4.4.

**Is there a fix for CVE-2020-12641?** A patch was published on 2020-04-29: Vendor released security updates 1.4.4, 1.3.11, and 1.2.10 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2020-12641 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2020-12641?** Check whether you run Roundcube Webmail. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Roundcube Webmail before 1.4.4

## Timeline

- 2020-04-29: patched: Vendor released security updates 1.4.4, 1.3.11, and 1.2.10
- 2023-06-22: kev added: Added to CISA Known Exploited Vulnerabilities Catalog
- 2023-06-22: disclosed: NVD publication date

## Related threats

- [Roundcube Webmail IMAP command injection in message cache](https://junglewise.ai/threats/cve-2026-126813-roundcube-webmail-before-1-6-21-and-1-7-x-before-1-7-6-contains)
- [Roundcube Webmail stored XSS in draft restore dialog subject field](https://junglewise.ai/threats/cve-2026-48849-roundcube-webmail-stored-xss-in-draft-restore-dialog-subject)
- [Roundcube Webmail remote image blocking bypass via CSS var()](https://junglewise.ai/threats/cve-2026-48846-roundcube-webmail-remote-image-blocking-bypass-via-css-var)
- [Roundcube Webmail SSRF via insufficient CSS sanitization](https://junglewise.ai/threats/cve-2026-48843-roundcube-webmail-ssrf-via-insufficient-css-sanitization)
- [Roundcube Webmail SQL Injection Vulnerability](https://junglewise.ai/threats/cve-2021-44026-roundcube-webmail-sql-injection-vulnerability)
