Skip to main content

Horde IMP CVE-2026-58451

| EUVDEUVD-2026-41111 HIGH
Path Traversal (CWE-22)
2026-07-01 VulnCheck GHSA-mv7w-qwqh-w2g9
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to IMP or hijack session via CSRF
  2. Delivery
    Craft img src with CKEditor prefix plus traversal
  3. Exploit
    Bypass stripos() prefix validation
  4. Execution
    file_get_contents() reads target file
  5. Persist
    Send email attaching file as MIME part
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

IMP 0 <7.0.1

Affected Packages

euvd imp fix: 7.0.1

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche open-source PHP webmail, limited enterprise deployment footprint
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in Horde

View all
CVE-2014-1691 HIGH POC
7.5 Apr 01

The framework/Util/lib/Horde/Variables.php script in the Util library in Horde before 5.1.1 allows remote attackers to c

CVE-2012-0209 HIGH POC
7.5 Sep 25

Horde 3.3.12, Horde Groupware 1.2.10, and Horde Groupware Webmail Edition 1.2.10, as distributed by FTP between November

CVE-2020-8518 CRITICAL POC
9.8 Feb 17

Horde Groupware Webmail Edition 5.2.22 allows injection of arbitrary PHP code via CSV data, leading to remote code execu

CVE-2019-9858 HIGH POC
8.8 May 29

Remote code execution was discovered in Horde Groupware Webmail 5.2.22 and 5.2.17. Rated high severity (CVSS 8.8), this

CVE-2017-15235 HIGH POC
7.5 Oct 11

The File Manager (gollem) module 3.0.11 in Horde Groupware 5.2.21 allows remote attackers to bypass Horde authentication

CVE-2019-12095 HIGH POC
8.8 Oct 24

Horde Trean, as used in Horde Groupware Webmail Edition through 5.2.22 and other products, allows CSRF, as demonstrated

CVE-2017-14650 HIGH POC
8.1 Sep 21

A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilize

CVE-2022-30287 HIGH POC
8.0 Jul 28

Horde Groupware Webmail Edition through 5.2.22 allows a reflection injection attack through which an attacker can instan

CVE-2017-7413 HIGH
8.8 Apr 04

In Horde_Crypt before 2.7.6, as used in Horde Groupware Webmail Edition through 5.2.17, OS Command Injection can occur i

CVE-2015-7984 MEDIUM POC
6.8 Nov 19

Multiple cross-site request forgery (CSRF) vulnerabilities in Horde before 5.2.8, Horde Groupware before 5.2.11, and Hor

CVE-2020-8866 MEDIUM POC
6.5 Mar 23

This vulnerability allows remote attackers to create arbitrary files on affected installations of Horde Groupware Webmai

CVE-2020-8865 MEDIUM POC
6.3 Mar 23

This vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webma

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy