CVE-2020-12641
CONFIRMED EXPLOITEDRoundcube Webmail Remote Code Execution Vulnerability
Is Roundcube Roundcube Webmail affected by CVE-2020-12641?
Roundcube Roundcube Webmail is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2020-12641, added on 2023-06-22. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (7 vulnerable CPE entries): opensuse backports_sle, opensuse leap and roundcube webmail.
Published CPE version bounds mark releases below 1.4.4 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2023-07-13.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2021-44026Same productRoundcube Roundcube Webmail
Roundcube Webmail SQL Injection Vulnerability
- CVE-2020-35730Same productRoundcube Roundcube Webmail
Roundcube Webmail Cross-Site Scripting (XSS) Vulnerability
- CVE-2017-16651Same productRoundcube Roundcube Webmail
Roundcube Webmail File Disclosure Vulnerability
- CVE-2025-68461Same vendorRoundcube Webmail
RoundCube Webmail Cross-site Scripting Vulnerability
- CVE-2016-9079Neighboring entryMozilla Firefox, Firefox ESR, and Thunderbird
Mozilla Firefox, Firefox ESR, and Thunderbird Use-After-Free Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration setting for im_convert_path or im_identify_path.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-06-22. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Roundcube Webmail has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Mail / messaging surface (Roundcube Roundcube Webmail): inspect MTA transaction and authentication logs (`/var/log/mail.log`, Exchange message tracking), `Zeek smtp.log` / `ssl.log`, and webmail access logs for anomalous auth sequences or unexpected child processes.
- Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
- Inventory all hosts running Roundcube Roundcube Webmail and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00083.htmlMailing ListThird Party Advisory
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-12641-Command%20Injection-RoundcubeExploitThird Party Advisory
- https://github.com/roundcube/roundcubemail/commit/fcfb099477f353373c34c8a65c9035b06b364db3Patch
- https://github.com/roundcube/roundcubemail/compare/1.4.3...1.4.4Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.4Release Notes
- https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10Release NotesVendor Advisory
- https://security.gentoo.org/glsa/202007-41Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00083.htmlMailing ListThird Party Advisory
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-12641-Command%20Injection-RoundcubeExploitThird Party Advisory
- https://github.com/roundcube/roundcubemail/commit/fcfb099477f353373c34c8a65c9035b06b364db3Patch
- https://github.com/roundcube/roundcubemail/compare/1.4.3...1.4.4Release Notes
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.4Release Notes
- https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10Release NotesVendor Advisory
- https://security.gentoo.org/glsa/202007-41Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-12641US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting