Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2469
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 02:18 UTC · Revision 1
Source evidence
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.
osv:CVE-2026-2469
Complete source record
{
"id": "c0a9d7f37979da30b936053fef2e210da64c7a2520ba0e2498aa293e05f24dfb",
"url": "https://osv.dev/vulnerability/CVE-2026-2469",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2026-2469",
"summary": "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.",
"evidence": "osv:CVE-2026-2469",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-2469",
"aliases": [
"CVE-2026-2469",
"GHSA-rfq9-4wcm-64gh"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/directorytree/imapengine",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "87fca56affd9527e6907a705e6d600c5174d9a5a"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.22.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "87fca56affd9527e6907a705e6d600c5174d9a5a"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.22.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v1.22.2",
"v1.22.1",
"v1.22.0",
"v1.21.0",
"v1.20.1",
"v1.20.0",
"v1.19.2",
"v1.19.1",
"v1.19.0",
"v1.18.6",
"v1.18.5",
"v1.18.4",
"v1.18.3",
"v1.18.2",
"v1.18.1",
"v1.18.0",
"v1.17.3",
"v1.17.2",
"v1.17.1",
"v1.17.0",
"v1.16.2",
"v1.16.1",
"v1.16.0",
"v1.15.5",
"v1.15.4",
"v1.15.3",
"v1.15.2",
"v1.15.1",
"v1.14.0",
"v1.13.8",
"v1.13.7",
"v1.13.6",
"v1.13.5",
"v1.13.4",
"v1.13.3",
"v1.13.2",
"v1.13.1",
"v1.13.0",
"v1.12.1",
"v1.12.0",
"v1.11.2",
"v1.11.1",
"v1.11.0",
"v1.10.1",
"v1.10.0",
"v1.9.0",
"v1.8.0",
"v1.7.1",
"v1.7.0",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.0",
"v1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.3",
"v1.3.2",
"v1.3.1",
"v1.3.0",
"v1.2.1",
"v1.2.0",
"v1.1.0",
"v1.0.5",
"v1.0.4",
"v1.0.3",
"v1.0.1",
"v1.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2469.json"
}
}
],
"modified": "2026-10-28T02:30:52.855775965Z",
"provider": "osv",
"references": [
"https://gist.github.com/wanamirulhakim/74b41589cdea3c07c3375e5946960778",
"https://security.snyk.io/vuln/SNYK-PHP-DIRECTORYTREEIMAPENGINE-15274300",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2469.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2469",
"https://github.com/DirectoryTree/ImapEngine/commit/87fca56affd9527e6907a705e6d600c5174d9a5a",
"https://github.com/DirectoryTree/ImapEngine/pull/150"
],
"provider_metadata": {
"cwe_ids": [
"CWE-74"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2469.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2469",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521716,
"published_at": "2026-02-14T05:00:05.646+00:00"
}