7.7 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): Present (P)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): Present (P)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
Activity log
- Created suggestion
Horde VFS < 3.0.1 OS Command Injection via Horde_Vfs_Smb Driver
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.
References
-
Release Notes release-notes
-
Fix PR issue-tracking
-
Fix Commit patch
-
https://www.vulncheck.com/advisories/horde-vfs-os-command-injection-via-horde-v… third-party-advisory
Affected products
- <3.0.1
Matching in nixpkgs
pkgs.avfs
Virtual filesystem that allows browsing of compressed files
pkgs.gvfs
Virtual Filesystem support library
pkgs.envfs
Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process
pkgs.mvfst
Implementation of the QUIC transport protocol
-
nixos-unstable 2026.01.19.00
- nixpkgs-unstable 2026.01.19.00
- nixos-unstable-small 2026.01.19.00
-
nixos-26.05 2026.01.19.00
- nixos-26.05-small 2026.01.19.00
- nixpkgs-26.05-darwin 2026.01.19.00
pkgs.davfs2
Mount WebDAV shares like a typical filesystem
pkgs.gnome.gvfs
Virtual Filesystem support library (full GNOME support)
pkgs.yaziPlugins.gvfs
Transparently mount and unmount devices or remote storage in read and write mode
-
nixos-unstable 0-unstable-2026-03-29
- nixpkgs-unstable 0-unstable-2026-03-29
- nixos-unstable-small 0-unstable-2026-03-29
-
nixos-26.05 0-unstable-2026-03-29
- nixos-26.05-small 0-unstable-2026-03-29
- nixpkgs-26.05-darwin 0-unstable-2026-03-29
pkgs.tcl8Packages.tclvfs
Tcl extension that exposes Tcl's Virtual File System (VFS) subsystem to the script level
-
nixos-unstable 1.4-unstable-2023-11-23
- nixpkgs-unstable 1.4-unstable-2023-11-23
- nixos-unstable-small 1.4-unstable-2023-11-23
-
nixos-26.05 1.4-unstable-2023-11-23
- nixos-26.05-small 1.4-unstable-2023-11-23
- nixpkgs-26.05-darwin 1.4-unstable-2023-11-23
pkgs.tcl9Packages.tclvfs
Tcl extension that exposes Tcl's Virtual File System (VFS) subsystem to the script level
-
nixos-unstable 1.4-unstable-2023-11-23
- nixpkgs-unstable 1.4-unstable-2023-11-23
- nixos-unstable-small 1.4-unstable-2023-11-23
-
nixos-26.05 1.4-unstable-2023-11-23
- nixos-26.05-small 1.4-unstable-2023-11-23
- nixpkgs-26.05-darwin 1.4-unstable-2023-11-23
pkgs.kodiPackages.vfs-rar
RAR archive Virtual Filesystem add-on for Kodi
pkgs.linuxPackages.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.kodiPackages.vfs-sftp
SFTP Virtual Filesystem add-on for Kodi
pkgs.linuxPackages.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_zen.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_latest.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_xanmod.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_zen.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_latest.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_xanmod.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_xanmod_latest.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_xanmod_stable.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_1.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_6.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_7_0.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_7_1.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_zen.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_xanmod_latest.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxPackages_xanmod_stable.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_5_10.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_5_15.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_12.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_18.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_1.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_6.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_7_0.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_7_1.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_xanmod.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_zen.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_5_10.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_5_15.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_12.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_6_18.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_xanmod.nullfsvfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_xanmod_latest.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_xanmod_stable.nullfs
Virtual black hole file system that behaves like /dev/null
pkgs.linuxKernel.packages.linux_xanmod_latest.nullfsvfs
Virtual black hole file system that behaves like /dev/null
Package maintainers
-
@tbutter Thomas Butter <tbutter@gmail.com>
-
@fgaz Francesco Gazzetta <fgaz@fgaz.me>
-
@Mic92 Jörg Thalheim <joerg@thalheim.io>
-
@bobby285271 Bobby Rong <rjl931189261@126.com>
-
@jtojnar Jan Tojnar <jtojnar@gmail.com>
-
@peterhoeg Peter Hoeg <peter@hoeg.com>
-
@minijackson Rémi Nicole <minijackson@riseup.net>
-
@cpages Carles Pagès <page@ruiec.cat>
-
@nvmd Sergey Kazenyuk <kazenyuk@pm.me>
-
@dschrempf Dominik Schrempf <dominik.schrempf@gmail.com>
-
@aanderse Aaron Andersen <aaron@fosslib.net>
-
@callumio Callum Leslie <git@cleslie.uk>
-
@risicle Robert Scott <code@humanleg.org.uk>
-
@lf- Jade Lovelace
-
@techknowlogick techknowlogick <techknowlogick@gitea.com>
-
@emilazy Emily <nixpkgs@emily.moe>
-
@anninzy Annin