CVE-2026-63725 Details
Description
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.
A command injection vulnerability has been identified in the sysPass password manager, specifically within the FileBackupService component. The issue arises in the doBackupFiles() method, where the backup directory path is directly concatenated into a tar command without proper sanitization. This vulnerability affects sysPass versions 3.x, including the latest release 3.2.11. Administrators can exploit this flaw by injecting shell metacharacters into the backup path, leading to the execution of arbitrary OS commands with web server privileges. Given that sysPass manages sensitive credentials, such exploitation could result in severe consequences, such as unauthorized access to the sysPass master password and encryption key, allowing decryption of all stored credentials and potential pivoting to internal systems using the disclosed credentials.
The vulnerability can be addressed by properly escaping all shell arguments before concatenation, validating the backup path to reject any metacharacters, or by replacing exec() with proc_open() using an explicit argument array to eliminate shell injection risks.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2026CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/W40X/6747ba1b7da7bb69b0c0e162628df279 | [email protected] | ExploitTechnical Description |
| https://github.com/nuxsmin/sysPass | [email protected] | ProductVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sysPass | >= 3, < 3.2.12 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |
Volerion