CVE-2026-62943

Source
https://cve.org/CVERecord?id=CVE-2026-62943
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62943.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-62943
Aliases
  • GHSA-pf45-7g54-65h5
Downstream
Published
2026-09-18T16:24:48Z
Modified
2026-10-28T02:30:37Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
btrbk: SSH Command Filter Bypass in ssh_filter_btrbk.sh
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/62xxx/CVE-2026-62943.json"
}
References

Affected packages

Git / github.com/digint/btrbk

Affected ranges

Type
GIT
Repo
https://github.com/digint/btrbk
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0.29.0"
                },
                {
                    "fixed": "0.32.7"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "29ca3c093205395bdeb9dd98677ab4139c458aec"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v0.32.7",
            "range": [
                {
                    "fixed": "b4676b841865763901712153281de4b1291cedc6"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.29.0
v0.29.1
v0.30.0
v0.31.0
v0.31.1
v0.31.2
v0.31.3
v0.32.0
v0.32.1
v0.32.2
v0.32.3
v0.32.4
v0.32.5
v0.32.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-62943.json"