Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Admin authentication required (PR:H), network-accessible admin interface (AV:N), trivial post-auth exploitation (AC:L), full CIA impact on sysPass host with no scope change in base metrics.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
sysPass's FileBackupService::doBackupFiles() in lib/SP/Services/Backup/FileBackupService.php around line 388 builds a tar shell command by string-concatenating the backup directory path $this->path directly into the command line ('tar czf ' . $backupFileApp . ' ' . BASE_PATH . ' --exclude \"' . $this->path . '\" 2>&1') and passes the result to PHP's exec() with no application of escapeshellarg() and no validation of the path against a safe character set. The $this->path value is read from the sysPass configuration, which is persisted in the database and writable through the admin settings API and the admin UI. An administrator (or an attacker who has obtained an admin API token or admin session) can therefore store a backup path containing shell metacharacters and trigger a backup operation to execute arbitrary OS commands as the web server process user (typically www-data or apache). Because sysPass is a password manager whose sole purpose is to hold credentials for other systems, code execution as the web-server user permits reading sysPass's master password and encryption key from memory or configuration files, decrypting every stored credential in the database, exporting the entire password vault, pivoting to internal systems using the disclosed credentials, and installing persistent backdoors on the password-manager host.
AnalysisAI
Command injection in sysPass's backup service allows any authenticated administrator to execute arbitrary OS commands as the web server process user by storing shell metacharacters in the backup path configuration setting and triggering a backup operation. Because sysPass is a self-hosted password manager, successful exploitation grants direct read access to the master encryption key and entire credential vault, enabling mass credential disclosure and lateral movement to every system whose passwords are stored in sysPass. A public proof-of-concept is available via the referenced gist (https://gist.github.com/W40X/6747ba1b7da7bb69b0c0e162628df279); no CISA KEV listing was identified at time of analysis.
Technical ContextAI
sysPass is a self-hosted PHP password manager (https://github.com/nuxsmin/sysPass). The vulnerability resides in lib/SP/Services/Backup/FileBackupService.php at approximately line 388 within the doBackupFiles() method. The method constructs a tar shell command via direct string concatenation, embedding the $this->path configuration value - read from the database - directly into the command string as: 'tar czf ' . $backupFileApp . ' ' . BASE_PATH . ' --exclude "' . $this->path . '" 2>&1'. This concatenated string is then passed to PHP's exec() with no application of escapeshellarg() or escapeshellcmd() and no allowlist validation of safe characters. CWE-78 (Improper Neutralization of Special Elements used in an OS Command) is the root cause class. Because the backup path is a persisted configuration value writable through both the admin UI and admin settings API, any admin-level principal can pre-position the malicious value and detonate it at will by triggering a backup job.
RemediationAI
No vendor-released patched version has been confirmed from the provided intelligence; patch availability must be verified directly against the sysPass GitHub repository at https://github.com/nuxsmin/sysPass, specifically looking for commits that apply escapeshellarg() to $this->path in lib/SP/Services/Backup/FileBackupService.php. Until a patch is applied, immediately audit and revoke any admin API tokens that are not strictly necessary, since token holders can exploit this without UI interaction. Restrict network access to the sysPass admin interface and settings API to a trusted management VLAN or localhost only, removing the remote attack surface while preserving local admin capability. Configure the sysPass web server process to run as a dedicated low-privilege system user with no shell access and minimal filesystem permissions, so that injected commands execute with the least possible capability. Setting PHP's disable_functions directive to include exec would block exploitation of this specific vector but will also break the backup feature entirely - evaluate this trade-off against operational requirements. Do not expose the sysPass admin interface directly to the internet under any circumstances.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-78 – OS Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-54210
GHSA-cqxp-cq56-pxvr