Skip to content
OpenAdvisories
High · 8.7 CVE-2026-62943 EUVD-2026-83054

btrbk: SSH Command Filter Bypass in ssh_filter_btrbk.sh

Published Sep 18, 2026 · Updated Sep 21, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
digint btrbk >= 0.29.0, < 0.32.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 btrbk No fix yet —
Debian 13 btrbk No fix yet —
Debian 12 btrbk No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 btrbk No fix yet —
Ubuntu 26.04 LTS btrbk No fix yet —
Ubuntu 24.04 LTS btrbk No fix yet —
Ubuntu 22.04 LTS btrbk No fix yet —
Ubuntu 16.04 LTS btrbk No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS btrbk No fix yet —
Ubuntu Pro 18.04 LTS btrbk No fix yet —

References