Description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a CSRF validation bypass in the mark-as-junk action of the markasjunk plugin. The plugin read the _uid parameter from POST data but passed it to rcmail::get_uids() without constraining the input mode, so values re-read inside that helper could be taken from the query string and the action carried out without a valid CSRF token. Upstream fixed this in the commit “Fix CSRF validation bypass in the mark-as-junk action”, which passes rcube_utils::INPUT_POST explicitly.
Affected products
roundcube: webmail
References6
- github.com/roundcube/roundcubemail/commit/15b0dc0d6e5712310c8f6… Patch
- github.com/roundcube/roundcubemail/commit/6ea2bbe356099c9da98ea… Patch
- bugs.debian.org/1151279 Mailing ListThird Party Advisory
- github.com/roundcube/roundcubemail/releases/tag/1.6.20 Release Notes
- github.com/roundcube/roundcubemail/releases/tag/1.7.5 Release Notes
- roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5 Issue Tracking
Metrics
- CVSS 3.1
-
4.3
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N - EPSS — exploit probability
- 0% percentile: 12 · as of 8 November 2026
- CWE
- CWE-352
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.