CVE-2020-12641 in Opensuse Leap and 2 more products
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.
Affects 3 products from 2 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Opensuse | Leap | 15.1 15.2 |
| Opensuse | Backports Sle | 15.0 |
| Roundcube | Webmail | ≥ 1.2.0, < 1.2.10 ≥ 1.3.0, < 1.3.11 ≥ 1.4.0, < 1.4.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Yes added 2023-06-22 |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-12641 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-231813-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-05-04 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-78: OS Command Injection
Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.
Related attack patterns (CAPEC)
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78
CAPEC-108 Command Line Execution through SQL Injection via CWE-78
CAPEC-6 Argument Injection via CWE-78
CAPEC-15 Command Delimiters via CWE-78
CAPEC-88 OS Command Injection via CWE-78
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2020-12641 affects Roundcube Webmail versions prior to 1.4.4, allowing remote attackers to execute arbitrary code by injecting shell metacharacters into configuration settings. This vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof of concept available, indicating a significant risk to affected systems.
The vulnerability exists in the rcube_image.php script, which processes image-related operations. Attackers can exploit this by manipulating the im_convert_path or im_identify_path configuration settings to include shell metacharacters, leading to arbitrary code execution on the server. The attack can be performed remotely without authentication, making it highly dangerous.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for all configuration settings, especially those related to command execution paths. Consider using a web application firewall (WAF) to monitor and block suspicious requests.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2020-12641?
CVE-2020-12641 affects Roundcube Webmail versions prior to 1.4.4, allowing remote attackers to execute arbitrary code by injecting shell metacharacters into configuration settings. This vulnerability has a high CVSS score of 9.8 and is listed in the KEV catalog with a public proof of concept available, indicating a significant risk to affected systems.
What is the CVSS score for CVE-2020-12641?
CVE-2020-12641 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 99.5%.
Is CVE-2020-12641 actively exploited?
Yes. CVE-2020-12641 is in the CISA known-exploited catalog (added 2023-06-22). Active exploitation confirmed. Immediate patching required.
How do I remediate CVE-2020-12641?
Priority: IMMEDIATE. Advisory: https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10 PSIRT: [email protected]
What systems are affected by CVE-2020-12641?
CVE-2020-12641 affects Opensuse Leap, Backports Sle; Roundcube Webmail.
What NERC-CIP standard applies to CVE-2020-12641?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized access to the system, which could compromise the integrity and availability of critical cyber assets.
What IEC 62443 requirement maps to CVE-2020-12641?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves the protection against malicious software and unauthorized access, which is essential for maintaining the security of industrial control systems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Opensuse","product":"Leap","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.