Skip to content
Server Security Center
KEVcritical9.8

CVE-2021-44026: Roundcube Webmail SQL Injection

Roundcube Webmail · listed in the CISA catalog of actively exploited vulnerabilities since 2023-06-22.

CVSS v3.1 (CVE record)
9.8
critical
EPSS (exploit probability, 30 days)
70%
higher than 99.3% of all CVEs
Added to CISA KEV
2023-06-22
US federal due date 2023-07-13
Ubuntu priority
high

CVE-2021-44026 explained

CVE-2021-44026 is a potential SQL injection flaw in Roundcube Webmail, reachable through the search or search_params parameters. It affects Roundcube before 1.3.17 and 1.4.x before 1.4.12. The flaw is listed in the CISA Known Exploited Vulnerabilities catalog, so it should be patched promptly.

Impact

According to the CVSS vector, an attacker can exploit this over the network with low complexity. No privileges or user interaction are needed. Successful SQL injection can have high impact on confidentiality, integrity and availability. This may expose or alter data in the Roundcube database and disrupt the webmail service. CISA lists the flaw as known to be exploited. Ransomware use is marked unknown.

Who is affected

The roundcube source package is affected on Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. Fixes exist for all three, but only through Ubuntu Pro (ESM). The fixed versions are 1.2~beta+dfsg.1-0ubuntu1+esm2 for 16.04, 1.3.6+dfsg.1-1ubuntu0.1~esm2 for 18.04 and 1.4.3+dfsg.1-1ubuntu0.1~esm2 for 20.04. Ubuntu 16.04 LTS is end of life. Standard support for 18.04 and 20.04 has ended.

Written with AI from the data on this page and checked against it automatically.

Official description

Roundcube before 1.3.17 and 1.4.x before 1.4.12 is prone to a potential SQL injection via search or search_params.

CISA required action: Apply updates per vendor instructions.

CISA notes

Ubuntu and Debian releases

A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.

  • Ubuntu 20.04 LTS·roundcube

    fix via Ubuntu Pro

    Fixed: 1.4.3+dfsg.1-1ubuntu0.1~esm2

  • Ubuntu 18.04 LTS·roundcube

    fix via Ubuntu Pro

    Fixed: 1.3.6+dfsg.1-1ubuntu0.1~esm2

  • Ubuntu 16.04 LTS·roundcube

    fix via Ubuntu Pro

    Fixed: 1.2~beta+dfsg.1-0ubuntu1+esm2

What to do

  1. Identify all hosts running the roundcube package on Ubuntu 16.04, 18.04 or 20.04 LTS.
  2. Enable Ubuntu Pro (ESM) on these hosts to get access to the fixed packages.
  3. Update roundcube to the fixed version for your release.
  4. Restart the web server or PHP service that runs Roundcube so the patched code is loaded.
  5. Plan an upgrade to a supported Ubuntu release, especially for end-of-life Ubuntu 16.04 LTS.
  6. Review database and web logs for signs of suspicious search requests.

Written with AI from the data on this page and checked against it automatically.

Check and fix on a server

Run on each Ubuntu or Debian server. Replace roundcube with the source package from the table above.

1. Show installed packages built from the source package, with their versions

dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="roundcube"'

2. Compare each installed version with the fixed version for your release from the table

I=INSTALLED_VERSION; F=FIXED_VERSION   # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac

3. Install the fix

sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="roundcube"{print $1}')

Services keep running the old code until they are restarted – restart the affected service or check with needrestart.

Rows marked “fix via Ubuntu Pro”: these fixes are only installable with an Ubuntu Pro subscription (ESM). Attach the machine first (sudo pro attach, then sudo pro enable esm-infra esm-apps), then run the commands above.

CISA's assessment (SSVC)

Exploitation
Exploited in the wild
Automatable
Yes – attackers can automate it at scale
Technical impact
Total – full control of the component or total information disclosure

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

Questions about CVE-2021-44026

Is this vulnerability being exploited?
Yes. CISA added CVE-2021-44026 to its Known Exploited Vulnerabilities catalog on 2023-06-22. Whether it is used in ransomware campaigns is unknown. The required action is to apply updates per vendor instructions.
Can I get the fix without Ubuntu Pro?
No, not on these releases. For Ubuntu 16.04, 18.04 and 20.04 LTS, the fixed roundcube packages are published only through Ubuntu Pro (ESM).
Does an attacker need an account?
No. The CVSS vector shows no privileges and no user interaction are required, and the attack works over the network.

Written with AI from the data on this page and checked against it automatically.

References

Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.