IMAP Command Injection in directorytree/imapengine
I discovered and responsibly disclosed a protocol-level IMAP command injection vulnerability in directorytree/
Bugs in this class live below the application: when attacker-influenced input reaches the IMAP conversation without being safely encoded, it can break out of its intended argument and be interpreted by the mail server as an additional command — in the mailbox context of the application's account.
- DiscoverSpotted how untrusted input travels into raw IMAP commands.
- ValidateBuilt a minimal proof of concept to confirm real, reachable impact.
- DiscloseReported privately to the maintainers with root cause and fix guidance.
- PublishCVE-2026-2469 assigned so every downstream user can patch.