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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Lifecycle Timeline
1DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-22 – Path Traversal
View allSame technique Path Traversal
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41111
GHSA-mv7w-qwqh-w2g9