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.
Published: 2026-07-01
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Horde IMP before version 7.0.1 contains a directory traversal flaw in the Compose.php file that allows authenticated attackers to supply malicious image URLs in the CKEditor editor. By appending path traversal sequences after the expected CKEditor prefix, the application bypasses a prefix check and reads arbitrary files using file_get_contents. The contents of these files is then encapsulated as MIME parts and sent out in emails, giving an attacker a covert exfiltration channel. The flaw is identified as CWE-22.

Affected Systems

All installations of Horde IMP with a version earlier than 7.0.1. The vulnerability manifests in the lib/Compose.php component and applies to any deployment that uses CKEditor image URLs for email composition.

Risk and Exploitability

The CVSS score of 7.1 indicates substantial impact, with the risk compounded by the fact that the attack requires user authentication, which is commonly present on mail servers. The EPSS score of < 1% suggests a very low but nonzero probability of exploitation; however, the absence of a KEV listing does not diminish the practical threat, as the flaw can be leveraged via CSRF to obtain the privileges of an active authenticated session, effectively enabling environments that do not promptly apply the patch.

Generated by OpenCVE AI on July 21, 2026 at 13:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Horde IMP to version 7.0.1 or later to remove the vulnerable Compose.php logic.
  • If an upgrade is not immediately possible, disable or restrict the CKEditor image URL feature so that image sources are limited to a safe directory and prevent arbitrary path input.
  • Configure the web server process to run with the least privilege, ensuring it cannot read sensitive system files outside the web root, thereby limiting the potential impact of any remaining traversal attempts.

Generated by OpenCVE AI on July 21, 2026 at 13:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 14 Jul 2026 22:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:horde:imp:*:*:*:*:*:*:*:*

Thu, 02 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
References

Thu, 02 Jul 2026 04:00:00 +0000

Type Values Removed Values Added
First Time appeared Horde
Horde imp
Vendors & Products Horde
Horde imp

Wed, 01 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 01 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
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.
Title Horde IMP < 7.0.1 Path Traversal via Compose.php img src
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:05.643Z

Reserved: 2026-06-30T20:20:33.789Z

Link: CVE-2026-58451

cve-icon Vulnrichment

Updated: 2026-07-02T19:30:49.019Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T13:45:03Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')