CVE-2026-63725: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in nuxsmin sysPass
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.
AI Analysis
Technical Summary
In sysPass 3.0.0, the FileBackupService::doBackupFiles() method constructs a tar command by directly concatenating the backup directory path from configuration into the shell command string without using escapeshellarg() or validating the input. Since this path is writable via the admin settings API and UI, an attacker with administrative privileges can inject shell metacharacters to execute arbitrary commands as the web server user. This vulnerability (CWE-78) allows code execution that can expose sensitive password vault data, decrypt stored credentials, and enable lateral movement or persistent backdoors on the host.
Potential Impact
An attacker with administrative access to sysPass can exploit this vulnerability to execute arbitrary OS commands as the web server user (commonly www-data or apache). This leads to full compromise of the password manager, including reading the master password and encryption keys from memory or configuration, decrypting all stored credentials, exporting the entire password vault, and potentially pivoting to other internal systems or installing persistent malware on the host.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted users only and avoid using untrusted input in backup path configuration. Monitor for updates from the vendor regarding an official fix or workaround.
CVE-2026-63725: CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection') in nuxsmin sysPass
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.
CVSS v3.1
Score 7.2high
Affected software
nuxsmin
sysPass
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In sysPass 3.0.0, the FileBackupService::doBackupFiles() method constructs a tar command by directly concatenating the backup directory path from configuration into the shell command string without using escapeshellarg() or validating the input. Since this path is writable via the admin settings API and UI, an attacker with administrative privileges can inject shell metacharacters to execute arbitrary commands as the web server user. This vulnerability (CWE-78) allows code execution that can expose sensitive password vault data, decrypt stored credentials, and enable lateral movement or persistent backdoors on the host.
Potential Impact
An attacker with administrative access to sysPass can exploit this vulnerability to execute arbitrary OS commands as the web server user (commonly www-data or apache). This leads to full compromise of the password manager, including reading the master password and encryption keys from memory or configuration, decrypting all stored credentials, exporting the entire password vault, and potentially pivoting to other internal systems or installing persistent malware on the host.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict administrative access to trusted users only and avoid using untrusted input in backup path configuration. Monitor for updates from the vendor regarding an official fix or workaround.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-07-17T21:21:58.625Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a750707bf8831d5395f5ac7
Added to database: 08/06/2026, 22:13:27 UTC
Last enriched: 08/14/2026, 16:12:05 UTC
Last updated: 09/21/2026, 22:01:36 UTC
Views: 37
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.