Medium severity · published Jul 1, 2026
CVE-2026-58451
Horde IMP < 7.0.1 Path Traversal via Compose.php img src
6.5
CVSS
0.6%
EPSS
No
On KEV
Description
Horde IMP before 7.0.1 contains a path traversal vulnerability in lib/Compose.php that allows authenticated attackers to read arbitrary files from the server filesystem by embedding traversal sequences after a CKEditor path prefix in img src URLs. Attackers can bypass the stripos() prefix validation by appending sequences such as traversal segments after the matching prefix, causing file_get_contents() to read sensitive files whose contents are then exfiltrated as MIME parts in outgoing email; unauthenticated exploitation is also achievable via CSRF against an active authenticated session.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 47% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
imp · horde
before 7.0.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-58451
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-58451
blog.evan.lat
https://blog.evan.lat/posts/CVE-2026-58451/
github.com
https://github.com/horde/imp/commit/fba972fab72ee6871e5d56e6390bee38593085de
github.com
https://github.com/horde/imp/pull/85
github.com
https://github.com/horde/imp/releases/tag/v7.0.1
www.horde.org
https://www.horde.org/apps/imp
www.vulncheck.com
https://www.vulncheck.com/advisories/horde-imp-path-traversal-via-compose-php-img-src
More from imp
6.1
CVE-2026-65053
Horde IMP before 7.2.0 Stored Cross-Site Scripting via AppleDouble Viewer Part Name
5.3
CVE-2002-2024
Horde IMP 2.2.7 allows remote attackers to obtain the full web root pathname via an HTTP request for (1) poppassd.php3, (2) login.php3?reason=chpass2, (3) spelling.php3, and (4)…
–
CVE-2012-6640
Cross-site scripting (XSS) vulnerability in Horde Internet Mail Program (IMP) before 5.0.22, as used in Horde Groupware Webmail Edition before 4.0.9, allows remote attackers to…
–
CVE-2012-5565
Cross-site scripting (XSS) vulnerability in js/compose-dimp.js in Horde Internet Mail Program (IMP) before 5.0.24, as used in Horde Groupware Webmail Edition before 4.0.9, allows…
–
CVE-2012-0791
Multiple cross-site scripting (XSS) vulnerabilities in Horde IMP before 5.0.18 and Horde Groupware Webmail Edition before 4.0.6 allow remote attackers to inject arbitrary web…
