CVE-2026-129237
MEDIUM 5.4CVSS 3.1qbee-agent: Docker Compose build context Zip Slip writes outside context directory
qbee-agent is the device agent component of the qbee.io IoT device management platform. Prior to 2026.41, the unpackTar extraction logic in app/utils/tar.go validates cleaned archive entry paths with strings.HasPrefix(targetPath, destdirClean) without enforcing a path-separator boundary. When UseContext enables the Docker Compose build context path in app/configuration/bundle_docker_compose.go, a less-privileged archive supplier with delegated configuration and/or file-manager access can provide a sibling-prefix traversal entry that passes the check, causing utils.UnpackTar to create directories and regular files outside the intended context extraction directory with qbee-agent process privileges, despite the supplier lacking authority to write those sibling files. In deployments where only full device or fleet administrators can provide Docker Compose context archives, this behavior is hardening rather than a crossed security boundary. The demonstrated impact is limited to nearby cache or project paths sharing the destination prefix, may affect integrity or availability of qbee-agent-managed Docker Compose state, and does not establish arbitrary absolute-path writes or direct code execution. This issue is fixed in version 2026.41.
- Published
- 16 Nov 2026
- Last modified
- 23 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Received
- Weakness
- CWE-22
- Also known as
- GHSA-vx32-xf7g-9ghrGO-2026-6987
- Sources
- NVDJSONOSV GHSA-vx32-xf7g-9ghrJSONOSV GO-2026-6987JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | go.qbee.io/agent | < 0.0.0-20260908095235-eb7875f0a849 | 0.0.0-20260908095235-eb7875f0a849 |
References
- https://github.com/qbee-io/qbee-agent/commit/eb7875f0a849cb33325956d0b75e27061d7a7fa3 · WEB, FIX
- https://github.com/qbee-io/qbee-agent/pull/148 · WEB, FIX
- https://github.com/qbee-io/qbee-agent/releases/tag/2026.41 · WEB
- https://github.com/qbee-io/qbee-agent/security/advisories/GHSA-vx32-xf7g-9ghr · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-129237 · ADVISORY
- https://github.com/qbee-io/qbee-agent · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 16 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Nov 2026)