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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: Low; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None; Exploit maturity: Proof of concept
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.59% (percentile 42, 2026-11-26)
- **CWE:** CWE-74
- **Aliases:** GHSA-rfq9-4wcm-64gh
- **Published:** 2026-02-14T05:00:05.646Z
- **Modified:** 2026-07-24T15:25:20.331Z

## Who should check

- Projects that depend on Packagist package directorytree/imapengine (\< 1.22.3)
- Anyone running directorytree/imapengine \< 1.22.3

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

## Affected and fixed versions

- Packagist `directorytree/imapengine`: affected \< 1.22.3; fixed 1.22.3 (osv)
- directorytree/imapengine: \< 1.22.3 (cvelist)

## Mitigation

- Upgrade directorytree/imapengine to 1.22.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-2469. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-2469.md
Affected: directorytree/imapengine < 1.22.3
Fixed in: 1.22.3

Steps:
1. Search this machine and project for directorytree/imapengine (Packagist), directorytree/imapengine: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-2469 being exploited?

There is no confirmed exploitation: CVE-2026-2469 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.59% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-2469?

High: CVSS 7.2 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-2469?

directorytree/imapengine \< 1.22.3.

### Is there a fix for CVE-2026-2469?

Yes. Fixed in 1.22.3. Upgrade directorytree/imapengine to 1.22.3 or later.

### How do I check if I'm affected by CVE-2026-2469?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-2469>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-rfq9-4wcm-64gh> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-2469> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-2469>
