Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-44026: SQL injection in Roundcube Webmail search parameters

Published Nov 19, 2021 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS69.9%99th percentile
CISA KEVYesAdded Jun 22, 2023
In the wildActivePer CISA KEV
Vendors
Debian ProjectFedora ProjectRoundcube
IdentifiersCVE-2021-44026CWE-89 · Improper Neutralization of Special…

CVE-2021-44026 is a SQL injection vulnerability affecting Roundcube Webmail before 1.3.17 and the 1.4.x branch before 1.4.12. The injection entry points are the search and search_params parameters. Exploitation can expose Roundcube database contents, including accounts, cached messages, and settings. APT28 has exploited the vulnerability in webmail espionage operations, including attack chains combining SQL injection with other Roundcube vulnerabilities.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can compromise the confidentiality of Roundcube database contents. Observed exploitation dumped database data that could expose accounts, cached messages, and settings. Campaigns combining this vulnerability with other Roundcube flaws also accessed email accounts, exfiltrated sensitive data, and executed shell commands; shell execution is not established as a direct consequence of this SQL injection alone.

Mitigation

If you can’t patch tonight, do this now.

Until upgrades are complete, restrict access to Roundcube to trusted users and networks where operationally feasible, monitor for anomalous search activity and unexpected database-query errors, and investigate signs of unauthorized mailbox-data collection. Apply layered web application protections only as compensating controls; patching is required to eliminate the underlying flaw.

Remediation

Patch, then assume compromise.

Upgrade affected Roundcube installations to version 1.3.17 or later in the 1.3 branch, or version 1.4.12 or later in the 1.4 branch. Prefer a currently supported release containing the fix.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
roundcube-cve-2021-44026This repository provides a working exploit for Roundcube webmail vulnerabilities CVE-2021-44026 (SQL injection) and CVE-2020-35730 (XSS). The exploit consists of a Python script (exploit.py) that acts as both an email sender and a Flask-based C2 server, and a JavaScript payload (static/fetcher.js) that is delivered to the victim via a crafted email. The attack chain is as follows: (1) The attacker runs exploit.py, which sends a malicious email to the target user. (2) When the target opens the email in a vulnerable Roundcube instance, the embedded XSS payload executes, loading fetcher.js from the attacker's server. (3) fetcher.js performs a SQL injection to extract session variables and emails, then exfiltrates this data as a vCard to the attacker's /store endpoint. The repository is well-structured, with clear separation between the exploit logic (Python) and the client-side payload (JavaScript). The exploit is operational and demonstrates a full attack chain, including exfiltration of sensitive data from the target.pentesttoolscom · Disclosed Nov 14, 2023 · python · javascript · network · email · browserOperationalCVE-2021-44026-PoCThis repository contains a chained XSS and SQL injection exploit targeting a webmail application (likely Roundcube or similar). The main Python script (exploit_chain_xss_sqli.py) acts as both a C2 server and a tool to send a crafted email containing a base64-encoded JavaScript payload. When the victim opens the email, the payload loads an external JavaScript file (x-fetch-sqli.js) from the attacker's server. This script performs a SQL injection attack via the webmail interface, manipulates session variables, and ultimately exfiltrates sensitive session data (such as session IDs and variables) back to the attacker's C2 server. The repository is structured with a Python server and a JavaScript payload, demonstrating a full attack chain from initial delivery to data exfiltration. The exploit requires the attacker to control an SMTP account and a C2 server, and the target must be vulnerable to both XSS and SQL injection in the webmail interface.skyllpro · Disclosed Apr 20, 2025 · python · javascript · browser · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Debian ProjectDebian Linuxoperating_system
Fedora ProjectFedoraoperating_system
RoundcubeWebmailapplication
FAQ

Frequently asked questions

Is CVE-2021-44026 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Jun 22, 2023.
Is there a public exploit for CVE-2021-44026?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-44026, the earliest disclosed Nov 14, 2023.
Is there a patch for CVE-2021-44026?
Upgrade affected Roundcube installations to version 1.3.17 or later in the 1.3 branch, or version 1.4.12 or later in the 1.4 branch. Prefer a currently supported release containing the fix.
What products are affected by CVE-2021-44026?
Roundcube Webmail, Debian Project Debian Linux, and Fedora Project Fedora.
How severe is CVE-2021-44026?
CVE-2021-44026 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 69.9% (99th percentile) as of Oct 16, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence6Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.