## qbee-agent: Docker Compose build context Zip Slip writes outside context directory

- 種別: advisory
- 重大度: medium
- 関連技術: go, docker
- CVE: CVE-2026-129237
- 公開日時: 2026-11-16T22:35:40.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-vx32-xf7g-9ghr)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-vx32-xf7g-9ghr

影響: go:go.qbee.io/agent < 0.0.0-20260908095235-eb7875f0a849 → 0.0.0-20260908095235-eb7875f0a849
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 payl…