Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privileged Horde account
-
DeliveryCraft filename with command-substitution payload
-
ExploitTrigger VFS upload/rename/delete operation
-
ExecutionPayload interpolated into /bin/sh -c
-
ImpactExecute arbitrary commands as web service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a Horde deployment configured to use the Horde_Vfs_Smb (SMB/CIFS) VFS driver - the non-default backend that invokes smbclient through /bin/sh -c, and (2) a valid low-privileged authenticated account able to perform VFS operations (file upload, folder creation, rename, or deletion). The attacker controls the filename, which must contain shell command-substitution sequences (backticks or $(...)) that survive _escapeShellCommand() and are interpolated into a double-quoted shell context. Limiting factors: authentication is mandatory (PR:L, so anonymous/unauthenticated attackers cannot exploit it), and instances not using the SMB driver are not exploitable regardless of version, which sharply narrows the realistically vulnerable population. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H) describes a network-reachable, low-complexity flaw that requires low-privilege authentication and carries an attack requirement (AT:P) - reflecting that the deployment must actually use the SMB VFS backend. Full high impact to confidentiality, integrity, and availability is justified because successful exploitation yields arbitrary command execution as the web/PHP service account. Against that, exploitation is gated by two real conditions: the attacker needs a valid low-privileged Horde account (PR:L), and the instance must be configured with the Horde_Vfs_Smb driver, which is not the default backend for most Horde deployments. No EPSS score, SSVC decision, or KEV listing is present in the provided data, and no public PoC is indicated - so despite the credible technical severity, current evidence points to potential rather than demonstrated exploitation. Net: a genuine high-priority issue for any Horde instance that enables the SMB VFS driver, but lower urgency for the majority of deployments that do not. Note the source score is expressed in CVSS 4.0 only; no CVSS 3.1 vector was supplied, so cross-version comparison relies on the independent assessment below. |
| Exploit ScenarioDerived | An attacker with an ordinary authenticated Horde account uploads a file or creates a folder whose name embeds a command-substitution payload such as a backtick or $(...) sequence. When the SMB VFS driver builds the smbclient command line, the payload is evaluated by /bin/sh -c and runs on the server with the privileges of the PHP/web process, giving the attacker arbitrary command execution. No public PoC is indicated, but the low attack complexity means a working exploit would be straightforward to develop. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
OS command injection in the Horde_Vfs_Smb driver of the Horde Virtual File System (VFS) API before 3.0.1 lets authenticated users execute arbitrary shell commands on the server. The flawed _escapeShellCommand() method fails to neutralize shell command-substitution sequences, so attacker-controlled filenames passed through routine file operations are interpolated into a double-quoted /bin/sh -c context and executed via proc_open() before smbclient runs. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but a vendor patch (v3.0.1) exists and the CVSS 4.0 base score is 7.7 (High).
RemediationAI
Vendor-released patch: upgrade the Horde_Vfs component to v3.0.1 or later (https://github.com/horde/Vfs/releases/tag/v3.0.1), which corrects _escapeShellCommand() as shown in commit 41f74b4acfc144e09013d04dd121e0a5da808361 and PR #10. If you cannot upgrade immediately, switch the VFS backend away from the Horde_Vfs_Smb (SMB/CIFS) driver to a non-shell backend such as SQL or direct filesystem storage, which removes the smbclient shell invocation entirely at the cost of losing SMB share integration; where SMB storage is mandatory, restrict VFS-capable operations (upload, folder create, rename, delete) to trusted authenticated users and tighten account provisioning so untrusted users cannot obtain the low-privilege access the exploit needs. Because the flaw is a shell-interpolation issue, disabling the SMB driver is the only fully effective workaround short of patching; input-level filtering of filenames is fragile against command-substitution encodings and should not be relied upon. See the VulnCheck advisory (https://www.vulncheck.com/advisories/horde-vfs-os-command-injection-via-horde-vfs-smb-driver) for details.
Affected VersionsENISA
Affected Packages
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 VFS is a PHP storage-abstraction library used by the Horde groupware/webmail framework to read and write files across pluggable backends. The affected Horde_Vfs_Smb driver shells out to the external smbclient binary to talk to SMB/CIFS shares, building command lines that embed user-supplied filenames. Its _escapeShellCommand() sanitizer is intended to make these safe but does not escape command-substitution constructs (backticks and $(...)), which remain active inside the double-quoted argument that /bin/sh -c evaluates. This is a textbook CWE-78 (Improper Neutralization of Special Elements used in an OS Command) root cause: an incomplete sanitizer combined with invocation through a shell interpreter (proc_open with /bin/sh -c) rather than a direct argv exec. The single affected CPE is cpe:2.3:a:horde:vfs:*:*:*:*:*:*:*:*.
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
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
Network-reachable but requires the non-default SMB VFS driver to be configured (AC:H) plus a low-privileged authenticated account (PR:L); shell command execution yields full C/I/A impact with no scope change.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Executive ViewAI
Horde Virtual File System (VFS) versions before 3.0.1 contain a remote code execution vulnerability in the SMB driver that allows authenticated users to execute arbitrary commands on affected servers. This enables compromise of systems handling file operations, risking unauthorized data access and service disruption. Organizations must prioritize patching to prevent insider threats and lateral movement attacks.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
The framework/Util/lib/Horde/Variables.php script in the Util library in Horde before 5.1.1 allows remote attackers to c
Horde 3.3.12, Horde Groupware 1.2.10, and Horde Groupware Webmail Edition 1.2.10, as distributed by FTP between November
Horde Groupware Webmail Edition 5.2.22 allows injection of arbitrary PHP code via CSV data, leading to remote code execu
Remote code execution was discovered in Horde Groupware Webmail 5.2.22 and 5.2.17. Rated high severity (CVSS 8.8), this
The File Manager (gollem) module 3.0.11 in Horde Groupware 5.2.21 allows remote attackers to bypass Horde authentication
Horde Trean, as used in Horde Groupware Webmail Edition through 5.2.22 and other products, allows CSRF, as demonstrated
A Remote Code Execution vulnerability has been found in the Horde_Image library when using the "Im" backend that utilize
Horde Groupware Webmail Edition through 5.2.22 allows a reflection injection attack through which an attacker can instan
In Horde_Crypt before 2.7.6, as used in Horde Groupware Webmail Edition through 5.2.17, OS Command Injection can occur i
Multiple cross-site request forgery (CSRF) vulnerabilities in Horde before 5.2.8, Horde Groupware before 5.2.11, and Hor
This vulnerability allows remote attackers to create arbitrary files on affected installations of Horde Groupware Webmai
This vulnerability allows remote attackers to execute local PHP files on affected installations of Horde Groupware Webma
EUVD-2026-42340
GHSA-4crx-2rrv-xxcf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB