CVE-2026-62943

NameCVE-2026-62943
Descriptionbtrbk 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1148559

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
btrbk (PTS)bookworm0.32.5-1vulnerable
forky, sid, trixie0.32.6-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
btrbksource(unstable)(unfixed)1148559

Notes

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

Search for package or bug name: Reporting problems