Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to IMP or hijack session via CSRF
-
DeliveryCraft img src with CKEditor prefix plus traversal
-
ExploitBypass stripos() prefix validation
-
Executionfile_get_contents() reads target file
-
PersistSend email attaching file as MIME part
-
ImpactExfiltrate sensitive server file contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the message-compose flow of Horde IMP with CKEditor-based HTML/inline-image handling, where an img src URL must first match the expected CKEditor path prefix (to pass the stripos() check) and then carry appended directory-traversal segments referencing the target file. The primary path requires a low-privilege authenticated webmail session (PR:L); the described alternative removes the credential requirement by using CSRF, which instead requires an already-authenticated victim to be induced into submitting the crafted compose request. Limiting factors: the target file must be readable by the web server/PHP process, output is confined to file contents disclosed via outgoing email (read-only, no write/execution), and the CSRF variant depends on an active victim session plus successful request forgery (absent or weak anti-CSRF controls). |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N, score 7.1) describes network-reachable, low-complexity exploitation requiring only low-privilege authentication, yielding high confidentiality impact with no integrity or availability impact - consistent with an arbitrary file-read primitive. That matches the description: any valid webmail user can read server files. The description additionally claims an unauthenticated variant via CSRF against an active session, which the base vector's PR:L does not fully capture - the CSRF path shifts the requirement from attacker credentials to a socially-engineered request against a logged-in victim (effectively UI:R/PR:N-flavored), so real-world reachability may be broader than PR:L implies. No EPSS score, no KEV listing, and no POC were provided, so there is no evidence of active or automated exploitation; risk is currently driven by disclosure quality (VulnCheck advisory) rather than observed attacks. Net: a genuine, credible file-disclosure issue worth prompt patching for exposed Horde instances, but not an emergency without exploitation signals - treat as high-priority-for-exposed-webmail, not drop-everything. |
| Exploit ScenarioDerived | An authenticated Horde IMP user (or an attacker who tricks a logged-in user into submitting a crafted request via CSRF) composes a message containing an inline image whose src URL begins with the expected CKEditor prefix but appends traversal sequences pointing at a sensitive file. When IMP processes the compose action, stripos() accepts the prefix and file_get_contents() reads the targeted file, attaching its contents as a MIME part on the outgoing email - so the attacker simply mails the file to themselves. No public exploit code was identified, but the technique is straightforward given the published advisory detail. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 01, 2026
Arbitrary file disclosure in Horde IMP webmail before 7.0.1 lets an authenticated user read any file the web server can access by planting directory-traversal sequences after a CKEditor path prefix inside an image src URL when composing mail. A weak stripos() prefix check fails to block traversal appended after the allowed prefix, so file_get_contents() pulls in files like /etc/passwd or configuration secrets and attaches them as MIME parts on the outgoing message. No public exploit identified at time of analysis, but VulnCheck published an advisory and the flaw is CSRF-triggerable against a live session, raising practical exposure for internet-facing Horde deployments.
RemediationAI
Upgrade to Horde IMP 7.0.1, which contains the fix (Vendor-released patch: 7.0.1) via commit fba972fab72ee6871e5d56e6390bee38593085de and PR #85 - see https://github.com/horde/imp/releases/tag/v7.0.1 and https://www.vulncheck.com/advisories/horde-imp-path-traversal-via-compose-php-img-src. If immediate patching is not possible, reduce exposure by restricting the webmail to trusted networks/VPN and enforcing anti-CSRF protections to blunt the session-riding vector, tightening the web server/PHP account's filesystem permissions (e.g. open_basedir, least-privilege runtime user) so file_get_contents() cannot reach sensitive paths like /etc or Horde config files - noting this narrows but does not eliminate the read primitive - and, where feasible, disabling inline-image/HTML composition in CKEditor to remove the vulnerable img-src handling, at the cost of losing rich-text and embedded-image functionality for users.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Horde IMP is the IMAP webmail application of the PHP-based Horde Groupware suite (CPE cpe:2.3:a:horde:imp). The vulnerable code path is in lib/Compose.php, which processes inline images referenced by img src URLs. To distinguish legitimate CKEditor-hosted assets from external content, it validates the URL with a case-insensitive substring prefix check (stripos()) and then loads the referenced path with file_get_contents(). Because stripos() only confirms the expected CKEditor prefix appears in the string - it does not anchor or canonicalize the remaining path - an attacker can satisfy the prefix and then append '../' traversal segments, defeating the intended allowlist. This is a classic CWE-22 Improper Limitation of a Pathname to a Restricted Directory: the root cause is trusting a substring match instead of resolving the final path and confirming it stays within an intended base directory.
Know when Horde gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable compose action needs a low-privilege authenticated session (PR:L) with no special complexity; primitive discloses arbitrary files (C:H) but cannot modify or disrupt (I:N/A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Horde IMP webmail prior to version 7.0.1 contains a file-disclosure vulnerability enabling attackers to extract sensitive data (credentials, configuration files) from internet-facing installations via email composition. The flaw is CSRF-exploitable, allowing unauthorized extraction even if targeted employees' accounts are not directly compromised.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
The framework/Util/lib/Horde/Variables.php script in the Util library in Horde before 5.1.1 allows remote attackers to c
Horde 3.3.12, Horde Groupware 1.2.10, and Horde Groupware Webmail Edition 1.2.10, as distributed by FTP between November
Horde Groupware Webmail Edition 5.2.22 allows injection of arbitrary PHP code via CSV data, leading to remote code execu
Remote code execution was discovered in Horde Groupware Webmail 5.2.22 and 5.2.17. Rated high severity (CVSS 8.8), this
The File Manager (gollem) module 3.0.11 in Horde Groupware 5.2.21 allows remote attackers to bypass Horde authentication
Horde Trean, as used in Horde Groupware Webmail Edition through 5.2.22 and other products, allows CSRF, as demonstrated
A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilize
Horde Groupware Webmail Edition through 5.2.22 allows a reflection injection attack through which an attacker can instan
In Horde_Crypt before 2.7.6, as used in Horde Groupware Webmail Edition through 5.2.17, OS Command Injection can occur i
Multiple cross-site request forgery (CSRF) vulnerabilities in Horde before 5.2.8, Horde Groupware before 5.2.11, and Hor
This vulnerability allows remote attackers to create arbitrary files on affected installations of Horde Groupware Webmai
This vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webma
EUVD-2026-41111
GHSA-mv7w-qwqh-w2g9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB