top of page
perceptive_background_267k.jpg

The backmeup npm package assembles shell command strings by directly concatenating its option values (name, source, destination, filter) - e.g. cmd = "mkdir -p …

Published:

4 August 2026 at 22:00:00

Alert date:

5 August 2026 at 12:07:08

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Web Technologies

The backmeup npm package is vulnerable to OS command injection due to unsafe shell command string construction. It directly concatenates user-supplied option values (name, source, destination, filter) into shell command strings without sanitizing shell metacharacters. The package executes these strings via ssh2-exec, either locally through child_process or remotely via SSH. Path normalization functions (path.normalize, path.join) are used but do not neutralize dangerous shell metacharacters such as semicolons, pipes, ampersands, backticks, and newlines. An attacker who can influence any of the option values can achieve arbitrary OS command execution on the backup host or the remote SSH target. This represents a classic CWE-78 OS command injection flaw in a supply chain dependency.

Technical details

Mitigation steps:

Affected products:

backmeup npm package
node-backmeup

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page