Skip to content
OpenAdvisories
High · 8.8 CVE-2026-60102 EUVD-2026-42340GHSA-4crx-2rrv-xxcf

Horde VFS < 3.0.1 OS Command Injection via Horde_Vfs_Smb Driver

Published Jul 8, 2026 · Updated Nov 8, 2026 · Assigned by VulnCheck

Description

Horde Virtual File System (VFS) API before 3.0.1 contains an OS command injection vulnerability in the Horde_Vfs_Smb driver where the _escapeShellCommand() method fails to sanitize command substitution sequences, allowing authenticated attackers to inject arbitrary shell commands through user-controlled filenames. Attackers can supply malicious filenames containing unescaped command substitution payloads through operations such as file upload, folder creation, rename, or deletion, which are interpolated into a double-quoted shell context and executed via proc_open() through /bin/sh -c before smbclient runs, resulting in arbitrary command execution on the underlying system.

Affected products

VendorProductAffectedFixed
horde Vfs < 3.0.1 3.0.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 php-horde-vfs No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS php-horde-vfs No fix yet —
Ubuntu 16.04 LTS php-horde-vfs No fix yet —

References