Skip to content
OpenAdvisories
Critical · 9.8 Known exploited Scanner template Public exploit CVE-2020-12641 EUVD-2020-4942GHSA-q9jx-pp2v-v8xh

rcube_image.php in Roundcube Webmail before 1.4.4 allows attackers to execute arbitrary code via shell metacharacters in a configuration se…

Published May 4, 2020 · Updated Oct 21, 2025 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 roundcube 1.4.4+dfsg.1-1 —
Debian 13 roundcube 1.4.4+dfsg.1-1 —
Debian 12 roundcube 1.4.4+dfsg.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS roundcube 1.5.0+dfsg.1-2ubuntu0.1~esm1 USN-5182-1
Ubuntu Pro 20.04 LTS roundcube 1.4.3+dfsg.1-1ubuntu0.1~esm1 USN-5182-1
Ubuntu Pro 18.04 LTS roundcube 1.3.6+dfsg.1-1ubuntu0.1~esm2 USN-5182-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS roundcube 1.2~beta+dfsg.1-0ubuntu1+esm2 USN-5182-1
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP4 roundcubemail 1.5.3-bp154.2.3.1 openSUSE-SU-2022:10148-1
SUSE Package Hub 15 SP3 roundcubemail 1.5.3-bp154.2.3.1 openSUSE-SU-2022:10148-1
SUSE Package Hub 15 SP2 roundcubemail 1.3.15-bp152.4.3.1 openSUSE-SU-2020:1516-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP1 roundcubemail 1.3.15-bp152.4.3.1 openSUSE-SU-2020:1516-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed roundcubemail 1.4.11-1.3 openSUSE-SU-2024:11303-1
openSUSE Leap 15.4 roundcubemail 1.5.3-bp154.2.3.1 openSUSE-SU-2022:10148-1
openSUSE Leap 15.3 roundcubemail 1.5.3-bp154.2.3.1 openSUSE-SU-2022:10148-1
openSUSE Leap 15.2 roundcubemail 1.3.15-bp152.4.3.1 openSUSE-SU-2020:1516-1
openSUSE Leap 15.1 roundcubemail 1.3.15-bp152.4.3.1 openSUSE-SU-2020:1516-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • mbadanoiu/MAL-004 ★ 0 · Apr 13, 2024

    MAL-004: Command Injection Bypass for CVE-2020-12641 in Roundcube Webmail

  • mbadanoiu/CVE-2020-12641 ★ 0 · Apr 8, 2024

    CVE-2020-12641: Command Injection via “_im_convert_path” Parameter in Roundcube Webmail

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 4

References