CVE-2026-2469 ImapEngine affected by command injection via the ID command parameters

High 7.2 Published Updated

Attackers can inject IMAP commands to read, delete emails, or terminate sessions by exploiting improper input escaping in the library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-2469?

CVE-2026-2469 is a high-severity command injection vulnerability in directorytree/imapengine, published on 14 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Versions of the package directorytree/imapengine before 1.22.3 are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') via the id() function in ImapConnection.php due to improperly escaping user input before including it in IMAP ID commands. This allows attackers to read or delete victim's emails, terminate the victim's session or execute any valid IMAP command on victim's mailbox by including quote characters " or CRLF sequences \r\n in the input.

Weakness: CWE-74

Which versions are affected by CVE-2026-2469?

2 open source packages ship an affected version, including directorytree/imapengine.

PackageAffectedFixed in
directorytree/imapengine PackagistAll versions1.22.3
directorytree/imapengine PackagistAll versions1.22.3

How do I fix CVE-2026-2469?

Upgrade directorytree/imapengine to 1.22.3 or later.

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

Is CVE-2026-2469 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-2469 exists.

Sources

Also known as GHSA-rfq9-4wcm-64gh.

Is CVE-2026-2469 in your software?

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

Check your SBOMs for free