Description
A Cross-Site Scripting vulnerability in rcmail_action_mail_get->run() in Roundcube through 1.5.7 and 1.6.x through 1.6.7 allows a remote attacker to steal and send emails of a victim via a malicious e-mail attachment served with a dangerous Content-Type header.
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.6.8+dfsg-1 | — |
| Debian 13 | roundcube | 1.6.8+dfsg-1 | — |
| Debian 12 | roundcube | 1.6.5+dfsg-1+deb12u3 | DSA-5743-1 |
| Debian 11 | roundcube | 1.4.15+dfsg.1-1+deb11u4 | DSA-5743-2 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | roundcube | 1.6.6+dfsg-2ubuntu0.1+esm3 | — |
| Ubuntu Pro 22.04 LTS | roundcube | 1.5.0+dfsg.1-2ubuntu0.1~esm6 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP6 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
| SUSE Package Hub 15 SP5 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | roundcubemail | 1.6.8-1.1 | openSUSE-SU-2024:14243-1 |
| openSUSE Leap 15.6 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-1 |
| openSUSE Leap 15.5 | roundcubemail | 1.6.8-bp156.2.3.1 | openSUSE-SU-2024:0328-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 3 repositories
-
victoni/Roundcube-CVE-2024-42008-and-CVE-2024-42010-POC ★ 2 · Feb 13, 2025
POC for Roundcube vulnerabilities CVE-2024-42008 and CVE-2024-42010
-
rpgsec/Roundcube-CVE-2024-42008-POC ★ 0 · Jul 9, 2025
-
Foxer131/CVE-2024-42008-9-exploit ★ 0 · May 26, 2025
The scripts in this repository are made to abuse CVE-2024-42008 and CVE-2024-42009. Both of these CVEs are vulnerabilities found on Roundcube 1.6.7
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 6
- WID-SEC-2024-1754 Roundcube: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 29, 2026
- DSA-5743-2 roundcube - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-5743-1 roundcube - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:0328-1 Security update for roundcubemail SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14243-1 roundcubemail-1.6.8-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- NCSC-2024-0326 Kwetsbaarheden verholpen in RoundCube Webmail NCSC-NL (Netherlands) · Aug 8, 2024
References
- https://github.com/roundcube/roundcubemail/releases
- https://sonarsource.com/blog/government-emails-at-risk-critical-cross-site-scripting-vulnerability-in-roundcube-webmail/
- https://github.com/roundcube/roundcubemail/releases/tag/1.5.8
- https://github.com/roundcube/roundcubemail/releases/tag/1.6.8
- https://roundcube.net/news/2024/08/04/security-updates-1.6.8-and-1.5.8