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.
Published: 2026-07-08
Score: 7.7 High
EPSS: 1.8% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an OS command injection flaw in the Horde_Vfs_Smb driver of Horde VFS before version 3.0.1. The _escapeShellCommand() method fails to strip command substitution sequences from filenames, allowing an attacker who can provide a filename to inject arbitrary shell commands. The malicious filename is incorporated into a double‑quoted shell command that is executed by proc_open() with /bin/sh -c before calling smbclient, resulting in code execution with the privileges of the PHP process. This flaw permits an authenticated attacker to run arbitrary commands on the underlying host and can lead to full system compromise.

Affected Systems

All installations of Horde VFS older than 3.0.1 that use the SMB driver are affected. The flaw is triggered when an authenticated user performs operations such as file upload, folder creation, rename, or deletion on the SMB share.

Risk and Exploitability

The CVSS score of 7.7 indicates high severity, and the EPSS score of 2% suggests a modest likelihood of exploitation. The vulnerability is not currently listed in the CISA KEV catalog. An attacker requires valid SMB credentials and the ability to create or manipulate filenames on the shared resource. Because the flaw is triggered by user-controlled filenames, an attacker with a standard SMB account can exercise the vulnerability without additional privileges.

Generated by OpenCVE AI on July 29, 2026 at 13:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Horde VFS to version 3.0.1 or later.
  • If an upgrade is not immediately possible, disable the SMB driver or restrict SMB access to trusted users only.
  • Implement a whitelist or sanitization step for filenames used with the SMB driver, ensuring no shell substitution sequences are allowed.

Generated by OpenCVE AI on July 29, 2026 at 13:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 10:15:00 +0000

Type Values Removed Values Added
First Time appeared Horde
Horde vfs
Vendors & Products Horde
Horde vfs

Wed, 08 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title Horde VFS < 3.0.1 OS Command Injection via Horde_Vfs_Smb Driver
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:29.942Z

Reserved: 2026-07-08T13:27:53.030Z

Link: CVE-2026-60102

cve-icon Vulnrichment

Updated: 2026-07-08T17:40:38.424Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:00:03Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')