qbee-io/transport · Security

go.qbee.io/transport: Symlink-chain path traversal in tar extraction (one level outside destination)

GHSA ID
GHSA-f9m7-vc86-p6jj
CVE ID
CVE-2026-55828
Severity
medium
Published
Updated
CVSS v4
6 · CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

Description

Impact

The go.qbee.io/transport library is affected by a symlink-chain path traversal vulnerability in its extractTar routine. The library's path validation is strictly lexical and fails to account for on-disk symlinks created earlier in the extraction process. Consequently, a crafted tar archive can be used to write or overwrite files one directory level above the intended extraction path. In the case of qbee-agent, which runs with root privileges, this vulnerability permits a root-privileged file write outside the intended destination.

Patches

The issue has been addressed in version v1.26.25

CWEs

References