Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. directorytree/imapengine
  4. ›
  5. CVE-2026-2469

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

February 14, 2026 (updated February 17, 2026)

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.

References

  • gist.github.com/wanamirulhakim/74b41589cdea3c07c3375e5946960778
  • github.com/DirectoryTree/ImapEngine
  • github.com/DirectoryTree/ImapEngine/commit/87fca56affd9527e6907a705e6d600c5174d9a5a
  • github.com/DirectoryTree/ImapEngine/pull/150
  • github.com/advisories/GHSA-rfq9-4wcm-64gh
  • nvd.nist.gov/vuln/detail/CVE-2026-2469
  • security.snyk.io/vuln/SNYK-PHP-DIRECTORYTREEIMAPENGINE-15274300

Code Behaviors & Features

Detect and mitigate CVE-2026-2469 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.22.3

Fixed versions

  • 1.22.3

Solution

Upgrade to version 1.22.3 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

packagist/directorytree/imapengine/CVE-2026-2469.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 25 Mar 2026 00:17:35 +0000.