{"id":"UBUNTU-CVE-2026-58451","details":"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.","modified":"2026-07-09T15:21:05Z","published":"2026-07-01T19:16:00Z","upstream":["CVE-2026-58451"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-58451"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-58451"},{"type":"REPORT","url":"https://github.com/horde/imp/pull/85"},{"type":"REPORT","url":"https://github.com/horde/imp/commit/fba972fab72ee6871e5d56e6390bee38593085de"},{"type":"REPORT","url":"https://github.com/horde/imp/releases/tag/v7.0.1"},{"type":"REPORT","url":"https://www.horde.org/apps/imp"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/horde-imp-path-traversal-via-compose-php-img-src"}],"affected":[{"package":{"name":"php-horde-imp","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/php-horde-imp?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.10-1","6.2.11-1","6.2.12-1","6.2.12-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-horde-imp","binary_version":"6.2.12-1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58451.json"}},{"package":{"name":"php-horde-imp","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/php-horde-imp?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2.20-1","6.2.21-1","6.2.21-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.2.21-1ubuntu1","binary_name":"php-horde-imp"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-58451.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}