Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a path traversal vulnerability in the squirrelmail_usercopy plugin.
Impact
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a path traversal vulnerability in the squirrelmail_usercopy plugin. With the file based backend, the source path was built from the login name without rejecting path separators, so a login name containing a slash could cause files outside the configured squirrelmail_data_dir to be read and imported. Upstream fixed this in the commit “Fix unsafe use of a login name in SquirrelMail import file path”, which rejects login names containing a slash.
Source excerpt · mitreAffected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Roundcube · Webmail
Other versions: unaffected
| Version / range | Source status |
|---|---|
| 1.6.0 to before 1.6.20 | affected |
| 1.7.0 to before 1.7.5 | affected |
Original source description
Roundcube Webmail before 1.6.20 and 1.7.x before 1.7.5 is affected by a path traversal vulnerability in the squirrelmail_usercopy plugin. With the file based backend, the source path was built from the login name without rejecting path separators, so a login name containing a slash could cause files outside the configured squirrelmail_data_dir to be read and imported. Upstream fixed this in the commit “Fix unsafe use of a login name in SquirrelMail import file path”, which rejects login names containing a slash.
References
- Source reference bugs.debian.org/1151279
- Patch github.com/roundcube/roundcubemail/commit/dbdfcac498164bcacb7ce273b6341678dd70c166
- Security advisory roundcube.net/news/2026/10/19/security-updates-1.6.20-and-1.7.5
- Release notes github.com/roundcube/roundcubemail/releases/tag/1.7.5
- Release notes github.com/roundcube/roundcubemail/releases/tag/1.6.20
- Patch github.com/roundcube/roundcubemail/commit/15fd175d154311ca7f59cf696c6cc39471611aa6