Description
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.
Published: 2026-08-05
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The backmeup npm package builds shell command strings by directly concatenating user‑supplied option values, such as backup name, source, destination and filter. These values are passed to a shell via ssh2‑exec or child_process without any escaping or argument array usage. The only transformations applied are path.normalize() and path.join(), which do not neutralize shell metacharacters like ;, |, &, $(), backticks, or newlines. The result is a classic OS command injection vulnerability (CWE‑78) that allows an attacker to execute arbitrary commands on the host performing the backup or on a remote SSH target when a connection is supplied.

Affected Systems

The affected product is the backmeup module released by adaltas. No specific version ranges are documented by the CNA, so any installed instance that accepts untrusted option values could be vulnerable.

Risk and Exploitability

The CVSS score of 8.8 indicates a high‑severity vulnerability. With the EPSS score not disclosed, the exploit probability is currently unknown, and the vulnerability is not listed in the CISA KEV catalog, suggesting no publicly documented widespread exploitation yet. An attacker can trigger the flaw by supplying malicious values for the backup name, source, destination or filter options, causing the concatenated shell command to be executed either locally or on a remote SSH target. Local execution requires the attacker's ability to influence the options, while remote execution needs a valid SSH session to the target, usually granted by the application. The lack of a vendor‑provided patch means remediation relies on application‑level mitigations.

Generated by OpenCVE AI on August 5, 2026 at 12:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to the latest backmeup release once a patched version is available
  • If upgrading immediately is not possible, remove the use of ssh2‑exec or child_process by configuring the application to avoid executing the concatenated command string
  • Sanitize all option values before passing them to backmeup; for example, reject or encode any shell metacharacters, restrict names to alphanumerics, and validate destination paths

Generated by OpenCVE AI on August 5, 2026 at 12:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

Wed, 05 Aug 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Description 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.
Title backmeup (npm): OS Command Injection via Backup Option Values
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: TuranSec

Published:

Updated: 2026-08-05T12:50:55.058Z

Reserved: 2026-08-05T10:53:53.176Z

Link: CVE-2026-71243

cve-icon Vulnrichment

Updated: 2026-08-05T12:50:51.656Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T13:00:16Z

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')