CVE-2026-62943

btrbk: SSH Command Filter Bypass in ssh_filter_btrbk.sh

Published Sep 18, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
btrbk is a tool for creating snapshots and remote backups of Btrfs subvolumes. From 0.29.0 until 0.32.7, btrbk's ssh_filter_btrbk.sh constructs allow_stream_match with a start anchor but without an end-of-string anchor for the complete command. A user restricted through an authorized_keys forced command can append a trailing pipe command after a valid btrbk command prefix, bypassing the allowlist and executing arbitrary commands with the privileges of the backup-target SSH account. Deployments that do not use ssh_filter_btrbk.sh in authorized_keys are not affected. This issue is fixed in version 0.32.7.

Analysis

AI-generated

Technical impact

A malformed line‑anchor rule in btrbk's ssh_filter_btrbk.sh allows an attacker to bypass the command allowlist and execute arbitrary commands through a forced‑command entry in authorized_keys. The flaw is an instance of OS command injection (CWE‑78) and lets the attacker run any instruction with the SSH account's privileges used for backups, potentially giving full control over the backup target system.

Affected Systems

The vulnerability affects users of Digint btrbk versions 0.29.0 through 0.32.6 that deploy ssh_filter_btrbk.sh as a forced command in authorized_keys. Deployments that do not use the script in authorized_keys, or that are running a later version (0.32.7 or newer), are not impacted.

Risk and Exploitability

With a CVSS score of 8.7 and an EPSS score of < 1%, the risk is considered high. The flaw can be triggered through a normal SSH forced‑command entry, so any attacker who can influence authorized_keys on the backup target can exploit it. The vulnerability is not listed in CISA's KEV catalog, but its severity and vector warrant close attention and timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade btrbk to version 0.32.7 or later.
  • Remove or disable ssh_filter_btrbk.sh from any authorized_keys forced‑command listings that are not strictly required.
  • If an upgrade cannot be performed immediately, modify the ssh_filter_btrbk.sh script to include an end‑of‑string anchor in the allowlist or otherwise enforce stricter command validation, and restrict the backup‑target SSH account to the minimum necessary privileges.

Generated by OpenCVE AI on September 19, 2026 at 16:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Digint
Digint btrbk
Vendors & Products Digint
Digint btrbk
Type Values Removed Values Added
Description btrbk is a tool for creating snapshots and remote backups of Btrfs subvolumes. From 0.29.0 until 0.32.7, btrbk's ssh_filter_btrbk.sh constructs allow_stream_match with a start anchor but without an end-of-string anchor for the complete command. A user restricted through an authorized_keys forced command can append a trailing pipe command after a valid btrbk command prefix, bypassing the allowlist and executing arbitrary commands with the privileges of the backup-target SSH account. Deployments that do not use ssh_filter_btrbk.sh in authorized_keys are not affected. This issue is fixed in version 0.32.7.
Title btrbk: SSH Command Filter Bypass in ssh_filter_btrbk.sh
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 21, 2026, 8:50 PM
Reserved
Jul 14, 2026, 10:32 PM
Status
Deferred
Published
Sep 18, 2026, 5:16 PM
Modified
Sep 24, 2026, 9:25 PM