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.
Severity (CVSS)
| Base score | 7.7 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-78 — Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| horde | Vfs | 0 to <3.0.1 |
References
- https://github.com/horde/Vfs/releases/tag/v3.0.1 (release-notes)
- https://github.com/horde/Vfs/pull/10 (issue-tracking)
- https://github.com/horde/Vfs/commit/41f74b4acfc144e09013d04dd121e0a5da808361 (patch)
- https://www.vulncheck.com/advisories/horde-vfs-os-command-injection-via-horde-vfs-smb-driver (third-party-advisory)
Generated from the official CVE List on 09 Jul 2026 07:08 UTC.