Description
Roundcube Webmail before 1.4.4 allows attackers to include local files and execute code via directory traversal in a plugin name to rcube_plugin_api.php.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | roundcube | 1.2~beta+dfsg.1-0ubuntu1+esm2 | USN-5182-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP2 | roundcubemail | 1.3.15-bp152.4.3.1 | openSUSE-SU-2020:1516-1 |
| SUSE Package Hub 15 SP1 | roundcubemail | 1.3.15-bp152.4.3.1 | openSUSE-SU-2020:1516-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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.
GitHub 1 repository
-
mbadanoiu/CVE-2020-12640 ★ 0 · Apr 13, 2024
CVE-2020-12640: Local PHP File Inclusion via "Plugin Value" in Roundcube Webmail
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- USN-5182-1 roundcube vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2020:1516-1 Security update for roundcubemail SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/roundcube/roundcubemail/releases/tag/1.4.4
- https://github.com/roundcube/roundcubemail/compare/1.4.3...1.4.4
- https://roundcube.net/news/2020/04/29/security-updates-1.4.4-1.3.11-and-1.2.10
- https://github.com/roundcube/roundcubemail/commit/814eadb699e8576ce3a78f21e95bf69a7c7b3794
- https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2020-12640-PHP%20Local%20File%20Inclusion-Roundcube
- GLSA-202007-41 vendor-advisory
- openSUSE-SU-2020:1516 vendor-advisory