CVE-2026-62943: btrbk: SSH Command Filter Bypass in ssh_filter_btrbk.sh

Published Sep 18, 2026
·
Updated

btrbk is a tool for creating snapshots and remote backups of Btrfs subvolumes. From 0.29.0 until 0.32.7, btrbk's sshfilterbtrbk.sh constructs allowstreammatch with a start anchor but without an end-of-string anchor for the complete command. A user restricted through an authorizedkeys 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 sshfilterbtrbk.sh in authorizedkeys are not affected. This issue is fixed in version 0.32.7.

Affected Software

1 affected component
btrbk>=0.29.0<0.32.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade btrbk to a version that resolves this vulnerability.

    Fixed in 0.32.7

Event History

Sep 18, 2026
CVE Published
via MITRE·04:24 PM
Data Sourced
via MITRE·04:24 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are affected?

Only deployments that use ssh_filter_btrbk.sh as an authorized_keys forced command are affected. Deployments that do not use this script in authorized_keys are not affected.

2

What access does an attacker need to exploit this issue?

The attacker needs access as a user restricted through an authorized_keys forced command using ssh_filter_btrbk.sh. They can append a pipe and trailing command to an otherwise valid btrbk command prefix.

3

What is the impact of successful exploitation?

A successful bypass allows arbitrary command execution with the privileges of the backup-target SSH account.

4

What version fixes the issue?

The issue is fixed in btrbk version 0.32.7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203