CVE-2021-44026

CRITICAL(9.8)KEVElevated Risk

Roundcube Webmail SQL Injection Vulnerability

Description

CVE-2021-44026 is a critical SQL injection vulnerability in Roundcube Webmail affecting versions before 1.3.17 and 1.4.x before 1.4.12. The vulnerability exists in the search and search_params functionality, where user-supplied input is incorporated into SQL queries without proper sanitization. An attacker can exploit this flaw remotely without authentication to read, modify, or delete database contents, potentially compromising all stored emails, contacts, and user credentials managed by the Roundcube Webmail instance. CISA has added CVE-2021-44026 to its Known Exploited Vulnerabilities catalog, and its EPSS score of 64.0% (98th percentile) confirms a high probability of active exploitation.

KEV Information

Vendor
Roundcube
Product
Roundcube Webmail
Date Added
June 22, 2023
Due Date
July 13, 2023
Required Action
Apply updates per vendor instructions.

CVSS Score

Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in Calculator
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
3.9
Impact Score
5.9

CWEs

Affected Products

VendorProductVersion
roundcubewebmail< 1.3.17; >= 1.4.0, < 1.4.12
fedoraprojectfedora33; 34
debiandebian linux9.0; 10.0; 11.0

Multiple CVSS Assessments

Source: [email protected](Primary)
9.8
CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0(Secondary)
9.8
CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Weakness Type

CWE-89: Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)

In Roundcube Webmail, the search and search_params input parameters are incorporated into SQL queries without adequate sanitization or parameterization. This allows an attacker to inject malicious SQL statements that are executed against the underlying database, potentially bypassing authentication, extracting sensitive data, or modifying database records.

Learn more: CWE-89 — Improper Neutralization of Special Elements used in an SQL Command

Impact Analysis

CVE-2021-44026 is a remotely exploitable SQL injection vulnerability that requires no authentication and no user interaction to exploit, making it one of the most dangerous vulnerability types for web applications. With a CVSS score of 9.8 (Critical), the impact spans all three security pillars. Confidentiality (High): An attacker can extract the entire database contents, including stored emails, user credentials, address books, and configuration data. Integrity (High): SQL injection enables the attacker to modify or insert arbitrary data into the database, potentially altering email contents, user settings, or creating rogue administrator accounts. Availability (High): Through destructive SQL commands, an attacker can delete tables, corrupt data, or overload the database server, causing denial of service. The EPSS score of 64.0% (98th percentile) indicates that this vulnerability is far more likely to be exploited than the vast majority of known vulnerabilities, and its presence in the CISA KEV catalog confirms active exploitation in real-world attacks against Roundcube Webmail deployments.

Exploit Maturity

CISA has confirmed active exploitation of CVE-2021-44026 in the wild by including it in the Known Exploited Vulnerabilities catalog with a remediation deadline of July 13, 2023. The EPSS score of 64.0% (98th percentile) underscores the high probability of exploitation activity targeting Roundcube Webmail installations with unpatched search functionality. While no dedicated public exploit with an "Exploit" tag is present in the NVD references, the patch commits on GitHub (commit c8947ecb and commit ee809bde) provide detailed diff information that significantly lowers the barrier for exploit development. Organizations running affected versions should prioritize remediation immediately.

Remediation

  1. Upgrade Roundcube Webmail to version 1.3.17 or later (for 1.3.x) or 1.4.12 or later (for 1.4.x) as mandated by CISA's KEV catalog directive. Apply mitigations per vendor instructions or discontinue use if patches are unavailable for your branch.
  2. Apply the specific patches from the Roundcube GitHub repository: commit c8947ecb and commit ee809bde address the SQL injection in the search functionality.
  3. Deploy a Web Application Firewall (WAF) with SQL injection detection rules to provide an additional layer of defense. Configure rules to inspect and block suspicious SQL syntax in search-related request parameters.
  4. Review database access logs and application logs for signs of SQL injection attempts, such as unusual query patterns, unexpected data access, or error messages indicating malformed SQL. Check for indicators of data exfiltration or unauthorized account creation.
  5. Ensure the database user account used by Roundcube has minimal privileges — restrict permissions to only the operations required by the application (SELECT, INSERT, UPDATE on specific tables) and avoid granting DROP, ALTER, or administrative privileges to limit the blast radius of any successful injection.

Technical Details

CVE-2021-44026 is a SQL injection vulnerability that occurs when Roundcube Webmail processes user-supplied input through the search and search_params parameters. These parameters, used for email and contact search functionality, are incorporated into SQL queries without adequate input validation, escaping, or the use of parameterized queries (prepared statements). Attack vector (Network): The vulnerability is exploitable remotely by sending crafted HTTP requests to the Roundcube search endpoint. Attack complexity (Low): SQL injection through search parameters is straightforward to exploit using standard techniques and readily available tools. Privileges required (None) and User interaction (None): The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H confirms that no authentication or user action is needed, allowing any network-accessible attacker to exploit the vulnerability. The underlying weakness (CWE-89) reflects a failure to use parameterized queries or adequate input sanitization in the database interaction layer of the search functionality.

Frequently Asked Questions

Is CVE-2021-44026 being actively exploited?

Yes, CVE-2021-44026 is confirmed to be actively exploited. CISA has included it in the Known Exploited Vulnerabilities catalog with a remediation deadline of July 13, 2023. The EPSS score of 64.0% (98th percentile) further indicates a high probability of ongoing exploitation against vulnerable Roundcube Webmail installations.

What products are affected by CVE-2021-44026?

CVE-2021-44026 affects Roundcube Webmail versions before 1.3.17 and versions 1.4.x before 1.4.12. Fedora and Debian Linux distributions that package Roundcube Webmail are also affected if running vulnerable versions.

How do I fix CVE-2021-44026?

Upgrade Roundcube Webmail to version 1.3.17 or later for the 1.3.x branch, or version 1.4.12 or later for the 1.4.x branch. Apply the vendor patches from the Roundcube GitHub repository and deploy a WAF with SQL injection detection rules for additional protection.

How severe is CVE-2021-44026?

CVE-2021-44026 is rated Critical with a CVSS score of 9.8 out of 10 under CVSS v3.1. It enables unauthenticated remote SQL injection with full impact on confidentiality, integrity, and availability. Its EPSS score in the 98th percentile means it is more likely to be exploited than the vast majority of known vulnerabilities.

CVSS Score

9.8
CRITICAL(9.8)

EPSS Score

EPSS Score42.75%
EPSS Percentile98.6%

Dates

PublishedNovember 19, 2021
Last ModifiedJune 17, 2026
StatusAnalyzed
CVSS Versionv3.1

Need Help With Vulnerability Management?

Our security experts can help you prioritize and remediate vulnerabilities effectively.