CVE-2026-129237: qbee-agent: Docker Compose build context Zip Slip writes outside context directory
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:
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.
References
- github.com/advisories/GHSA-vx32-xf7g-9ghr
- github.com/qbee-io/qbee-agent/commit/eb7875f0a849cb33325956d0b75e27061d7a7fa3
- github.com/qbee-io/qbee-agent/pull/148
- github.com/qbee-io/qbee-agent/releases/tag/2026.41
- github.com/qbee-io/qbee-agent/security/advisories/GHSA-vx32-xf7g-9ghr
- nvd.nist.gov/vuln/detail/CVE-2026-129237
Code Behaviors & Features
Detect and mitigate CVE-2026-129237 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →