CVE-2026-48842 SQL injection in Webmail

High 8.1 Published Updated

Attackers can perform pre-authentication SQL injection in Roundcube Webmail via the virtuser_query plugin, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-48842?

CVE-2026-48842 is a high-severity SQL injection vulnerability in Roundcube Webmail, published on 25 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Roundcube Webmail 1.6.x before 1.6.16 and 1.7.x before 1.7.1 has Pre-authentication SQL injection in the virtuser_query plugin via a preg_replace() backslash escape bypass.

Weakness: CWE-89

Which versions are affected by CVE-2026-48842?

How do I fix CVE-2026-48842?

Upgrade to a fixed version.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-48842 being exploited?

There is no known exploitation of CVE-2026-48842 in the wild and no public exploit code.

Public exploit code: 3 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2026-48842, GHSA-vc2v-cxrw-6g4p, UBUNTU-CVE-2026-48842.

Is CVE-2026-48842 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free