CVE-2026-62943 btrbk: SSH Command Filter Bypass in ssh_filter_btrbk.sh
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 0 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/btrbk(Debian 12) | = 0.32.5-1; = 0.32.5-1.1; = 0.32.6-1; = 0.32.6-2 +1 more | No fix listed | No fix yet |
| debian/btrbk(Debian 13) | = 0.32.6-2; All versions | No fix listed | No fix yet |
| debian/btrbk(Debian 14) | = 0.32.6-2; All versions | No fix listed | No fix yet |
| ubuntu/btrbk(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/btrbk(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/btrbk(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/btrbk(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| digint btrbk | = >= 0.29.0, < 0.32.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| digint btrbk | = >= 0.29.0, < 0.32.7 | No fix listed |
| debian/btrbk(Debian:12) | All versions | No fix listed |
| debian/btrbk(Debian:12) | = 0.32.5-1 | No fix listed |
| debian/btrbk(Debian:12) | = 0.32.5-1.1 | No fix listed |
| debian/btrbk(Debian:12) | = 0.32.6-1 | No fix listed |
| debian/btrbk(Debian:12) | = 0.32.6-2 | No fix listed |
| debian/btrbk(Debian:13) | All versions | No fix listed |
| debian/btrbk(Debian:13) | = 0.32.6-2 | No fix listed |
| debian/btrbk(Debian:14) | All versions | No fix listed |
| debian/btrbk(Debian:14) | = 0.32.6-2 | No fix listed |
| ubuntu/btrbk(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/btrbk(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/btrbk(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/btrbk(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/digint/btrbk/security/advisories/GHSA-pf45-7g54-65h5
- https://github.com/digint/btrbk/commit/29ca3c093205395bdeb9dd98677ab4139c458aec
- https://github.com/digint/btrbk/releases/tag/v0.32.7
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2538186 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-62943 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-83054 third-party-advisory