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

Published May 4, 2020
·
Updated

rcubeimage.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for imconvertpath or imidentifypath.

Other sources

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

CISA

Affected Software

8 affected components
Roundcube Roundcube Webmail
Roundcube Webmail>=1.2.0<1.2.10
Roundcube Webmail>=1.3.0<1.3.11
Roundcube Webmail>=1.4.0<1.4.4
openSUSE Backports SLE=15.0-sp1
openSUSE Backports SLE=15.0-sp2
openSUSE Leap=15.1
openSUSE Leap=15.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Roundcube Webmail to a version that resolves this vulnerability.

    Fixed in 1.4.4
  2. Configuration

    Ensure the configuration settings im_convert_path and im_identify_path do not allow shell metacharacters from untrusted input, since rcube_image.php in versions before 1.4.4 is vulnerable when these values include shell metacharacters.

    Roundcube Webmail im_convert_path / im_identify_path = Use values that do not contain shell metacharacters (ensure these configuration paths are not attacker-controlled).

Event History

May 4, 2020
CVE Published
via MITRE·02:58 PM
Data Sourced
via MITRE·02:58 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 22, 2023
Known Exploited
via CISA·12:00 AM
May 21, 2025
News Published
via The Register·07:16 PM
News Published
via The Register·07:21 PM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2020-12641?

CVE-2020-12641 is a remote code execution vulnerability in Roundcube Webmail.

2

How does the CVE-2020-12641 vulnerability work?

The CVE-2020-12641 vulnerability allows attackers to execute code by using shell metacharacters in a configuration setting for im_convert_path or im_identify_path.

3

Which software is affected by CVE-2020-12641?

Roundcube Webmail versions 1.2.10, 1.3.11, and 1.4.4 are affected by CVE-2020-12641.

4

How can an attacker exploit CVE-2020-12641?

An attacker can exploit CVE-2020-12641 by injecting malicious shell metacharacters in the configuration settings for im_convert_path or im_identify_path, allowing them to execute arbitrary code.

5

How can I mitigate or fix the CVE-2020-12641 vulnerability?

To mitigate CVE-2020-12641, it is recommended to update Roundcube Webmail to versions 1.2.10, 1.3.11, or 1.4.4, which include security updates addressing the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2020-12641 - Roundcube Webmail Remote Code Execution Vulnerability - SecAlerts