Advisories for Golang/Go.qbee.io/Agent package

2026

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 …