SQL injection in Roundcube Webmail - CVE-2021-44026

 

SQL injection in Roundcube Webmail - CVE-2021-44026

Published: November 27, 2021 / Updated: April 25, 2025


Vulnerability identifier: #VU58394
CSH Severity: High
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-44026
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via search or search_params. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

Roundcube Webmail
Gentoo Linux
Fedora
roundcube (Debian package)
roundcubemail
mail-client/roundcube

How to mitigate CVE-2021-44026

Install update from vendor's website.

Roundcube Webmail - addressed in versions 1.3.17, 1.4.12
roundcube (Debian package) - addressed in versions 1.3.17+dfsg.1-1~deb10u1, 1.4.12+dfsg.1-1~deb11u1
roundcubemail - addressed in versions 1.4.12-1.fc33, 1.4.12-1.fc34
mail-client/roundcube - update to 1.6.11

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins