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

- Severity: High 7.2 (CVSS:4.0, scored by snyk) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Published: 2026-02-14T05:00:05.646Z
- Modified: 2026-07-24T15:25:20.331Z
- Also known as: GHSA-rfq9-4wcm-64gh
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- directorytree/imapengine: before 1.22.3
- directorytree/imapengine (Packagist): before 1.22.3

## Every score

- snyk: CVSS:4.0 7.2 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P`
- snyk: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H/E:P`
- GitHub: CVSS:3.1 7.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P`

## References

- <https://security.snyk.io/vuln/SNYK-PHP-DIRECTORYTREEIMAPENGINE-15274300> (web)
- <https://github.com/DirectoryTree/ImapEngine/pull/150> (web)
- <https://github.com/DirectoryTree/ImapEngine/commit/87fca56affd9527e6907a705e6d600c5174d9a5a> (web)
- <https://gist.github.com/wanamirulhakim/74b41589cdea3c07c3375e5946960778> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-2469> (advisory)
- <https://github.com/DirectoryTree/ImapEngine> (package)

## Sources

- CVE List: [CVE-2026-2469](https://www.cve.org/CVERecord?id=CVE-2026-2469), CVE Terms of Use, modified 2026-07-24
- GitHub Advisory Database: [GHSA-rfq9-4wcm-64gh](https://github.com/advisories/GHSA-rfq9-4wcm-64gh), CC-BY-4.0, modified 2026-02-22
- NVD: [CVE-2026-2469](https://nvd.nist.gov/vuln/detail/CVE-2026-2469), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-2469 · Whole record: https://cve.day/CVE-2026-2469.json · Rebuilt by cve.day 2026-11-25T22:59:13.858Z
