MEDIUMCVSS v3.1 5.4Vulnerability

CVE-2026-129237

## Summary `qbee-agent` contains a Zip Slip vulnerability in `app/utils/tar.go`. The tar extractor checks whether an entry remains inside the destination directory with: ```go strings.HasPrefix(targetPath, destdirClean) ``` This does not enforce a path separator boundary. If the destination directory is `/tmp/.../context`, a tar entry such as `../context-outside/payload.txt` cleans to `/tmp/.../context-outside/payload.txt` and still passes the prefix check. qbee-agent then creates the outside directory and writes the payload outside the intended extraction root. The issue is reachable through the Docker Compose build context path when `UseContext` is enabled. ## Details Code references below were verified against `qbee-io/qbee-agent` commit: - `1d8bdbb7422adb4ca563d3114cbe2817d6ba3581` Affected repository: - `qbee-io/qbee-agent` Affected files: - `app/utils/tar.go` - Docker Compose context path in `app/configuration/bundle_docker_compose.go` The vulnerable extraction code: - `app/utils/tar.go:89-93` ```go targetPath := filepath.Clean(filepath.Join(destPath, header.Name)) destdirClean := filepath.Clean(destPath) if !strings.HasPrefix(targetPath, destdirClean) { return fmt.Errorf("tar entry %s is outside of destination directory %s", targetPath, destdirClean) } ``` The file is then created at the accepted `targetPath`: - `app/utils/tar.go:96-109` ```go case tar.TypeDir: if err := os.MkdirAll(targetPath, 0755); err != nil { return err } case tar.TypeReg: targetFile, err := os.Create(targetPath) ``` Docker Compose build contexts reach this extractor: - `app/configuration/bundle_docker_compose.go:238-270` The context archive is downloaded and then unpacked into the compose project context directory with `utils.UnpackTar`. Archive source and role evidence: - `app/configuration/compose.go:14` defines the Docker Compose build context as the remote configuration field `Context string`. - `app/configuration/compose.go:26` enables

Properties

Summary
qbee-agent: Docker Compose build context Zip Slip writes outside context directory
Severity
medium
Nvd fetched at
2026-11-16T22:44:16.771339+00:00
Cvss score
5.4
Cvss severity
MEDIUM
Retrieved at
2026-11-16T22:45:19+00:00
Ghsa published
2026-11-16T22:35:40Z
Source url
https://github.com/advisories/GHSA-vx32-xf7g-9ghr
Ghsa updated
2026-11-16T22:35:40Z
Ghsa id
GHSA-vx32-xf7g-9ghr
Last source
GitHub Advisory Database
Score
5.4
Cvss version
3.1
Cve id
CVE-2026-129237
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
First seen by Signal
2026-11-16T18:35:21+00:00
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Published at
2026-11-16T17:17:31.470
Last modified
2026-11-16T17:17:31.470

Related Entities (3)

AFFECTS (1)

→[Software]go/go.qbee.io/agent

VULNERABLE_TO (1)

←[Software]go/go.qbee.io/agent

Related research

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-129237 (CVSS v3.1 5.4) — Ninja Signal Threat Intelligence | Ninja Signal