CVE-2026-2469
CVE-2026-2469
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.2 · High · EPSS 0.4% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
directorytree/imapengine
- Versions
- ≥ 0, < 1.22.3: Affected (semver)
Update to 1.22.3
directorytree/imapengine Packagist
- Versions
- v1.0.0
- v1.0.1
- v1.0.2
- v1.0.3
- v1.0.4
- v1.0.5
- v1.1.0
- v1.10.0
- v1.10.1
- v1.11.0
- v1.11.1
- v1.11.2
- v1.12.0
- v1.12.1
- v1.13.0
- v1.13.1
- v1.13.2
- v1.13.3
- v1.13.4
- v1.13.5
- v1.13.6
- v1.13.7
- v1.13.8
- v1.14.0
- v1.15.0
- v1.15.1
- v1.15.2
- v1.15.3
- v1.15.4
- v1.15.5
- v1.16.0
- v1.16.1
- v1.16.2
- v1.17.0
- v1.17.1
- v1.17.2
- v1.17.3
- v1.18.0
- v1.18.1
- v1.18.2
- v1.18.3
- v1.18.4
- v1.18.5
- v1.18.6
- v1.19.0
- v1.19.1
- v1.19.2
- v1.2.0
- v1.2.1
- v1.2.2
- v1.20.0
- v1.20.1
- v1.21.0
- v1.22.0
- v1.22.1
- v1.22.2
- v1.3.0
- v1.3.1
- v1.3.2
- v1.3.3
- v1.4.0
- v1.4.1
- v1.4.2
- v1.5.0
- v1.6.0
- v1.6.1
- v1.6.2
- v1.7.0
- v1.7.1
- v1.8.0
- v1.9.0
- Affected ranges
- ECOSYSTEM: < 1.22.3
Update to 1.22.3
Original sources
- https://security.snyk.io/vuln/SNYK-PHP-DIRECTORYTREEIMAPENGINE-15274300
- https://github.com/DirectoryTree/ImapEngine/pull/150
- https://github.com/DirectoryTree/ImapEngine/commit/87fca56affd9527e6907a705e6d600c5174d9a5a
- https://gist.github.com/wanamirulhakim/74b41589cdea3c07c3375e5946960778
- https://nvd.nist.gov/vuln/detail/CVE-2026-2469