#1148559 btrbk: CVE-2026-62943

Package:
src:btrbk
Source:
src:btrbk
Submitter:
Moritz Mühlenhoff
Date:
2026-11-17 20:27:01 UTC
Severity:
normal
Tags:
#1148559#5
Date:
2026-09-20 18:47:31 UTC
From:
To:
Hi,

The following vulnerability was published for btrbk.

CVE-2026-62943[0]:
| 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.

https://github.com/digint/btrbk/security/advisories/GHSA-pf45-7g54-65h5
https://github.com/digint/btrbk/commit/29ca3c093205395bdeb9dd98677ab4139c458aec (v0.32.7)


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-62943
https://www.cve.org/CVERecord?id=CVE-2026-62943

Please adjust the affected versions in the BTS as needed.

#1148559#14
Date:
2026-11-03 01:08:37 UTC
From:
To:
Hi

I have re-uploaded the fixed package to mentors [1], and re-triggered
the uploader (Yaroslav). Apologies on reacting so slow, I kind-of missed
the notification mails due to spam issues. I hope this can still be
resolved in time.

Please note that I'm not an expert in the debian releasing process, let
me know if I'm missing something.

[1] https://mentors.debian.net/debian/pool/main/b/btrbk/btrbk_0.32.7-1.dsc


Regards, Axel

#1148559#19
Date:
2026-11-17 20:24:56 UTC
From:
To:
I believe something went wrong with the last upload, by mistake it aimed
for experimental instead of unstable.

Re-uploaded (with fix in changelod) to mentors:

https://mentors.debian.net/package/btrbk/

Please upload, I'm sorry for being slow to get this done.

- Axel