CVE-2026-126813 Roundcube Webmail before 1.6.21 and 1.7.6 IMAP Command Injection via _uid

High 7.4 Published Updated

Attackers can lure logged-in Roundcube users to crafted links that inject IMAP commands, deleting messages or granting mailbox access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Harmful if only installed
No
Needs a specific call
No
Fix
Available

What is CVE-2026-126813?

CVE-2026-126813 is a high-severity command injection vulnerability in Roundcube Webmail, published on 11 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Roundcube Webmail before 1.6.21 and 1.7.x before 1.7.6 contains an IMAP command injection vulnerability that allows attackers to inject commands via CRLF in the _uid parameter when messages_cache is enabled. Attackers can lure logged-in victims into opening crafted GET links to mail/show or mail/get, executing IMAP commands that delete messages, change flags, or grant mailbox access via SETACL.

Weakness: CWE-93

Which versions are affected by CVE-2026-126813?

Only installations with a non-default setting turned on are exposed.

How do I fix CVE-2026-126813?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-126813 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-126813, GHSA-vch9-h7xh-rp47, UBUNTU-CVE-2026-126813.

Is CVE-2026-126813 in your software?

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

Check your SBOMs for free