Repository navigation
Description
What's the problem
The appliance rootfs compiles docker-compose from source at Compose v5.5.1 (os/rootfs/Dockerfile, COMPOSE_VERSION/COMPOSE_COMMIT). That source selects github.com/containerd/containerd/v2 v2.3.4. Trivy reports CVE-2026-95839 (HIGH, status fixed; fixed in containerd 2.2.10, 2.3.7 and 2.4.2: "containerd image-triggered daemon crash via malformed digest") in usr/local/bin/docker-compose.
What it impacts
- "Build + scan the appliance rootfs" fails its Trivy gate (fixable HIGH/CRITICAL) on every PR that touches
os/**. That includes the RigForge 1.19.0 bake (Appliance: bake RigForge 1.19.0 into 2.0.4 #4230) and the Go builder fix os/rootfs: bump the golang builder pin to 1.26.11 (CVE-2026-97054 HIGH in stdlib v1.26.10) #4265. bench-submitrefuses tier-4 proof while that check is red.- The shipped appliance carries the vulnerable module in its compose binary.
How I found it
PR #4279 (the #4265 Go 1.26.11 bump) cleared the stdlib finding. Its rootfs scan at d5f6516 (run 44700250756) still failed with Total: 1 (HIGH: 1, CRITICAL: 0), and the only row was this containerd finding in usr/local/bin/docker-compose; Cosign had 0 findings. A PR's rootfs scan passed on 2026-11-19 at 23:08Z, so the finding probably arrived with a Trivy DB update. That is inferred from timing, not confirmed.
Upstream go.mod (read with the GitHub API) shows which Compose releases carry a fixed containerd:
| Compose | containerd | Fixed? |
|---|---|---|
| v5.5.1 | v2.3.4 | no |
| v5.6.0 | v2.4.1 | no |
| v5.7.0, v5.7.1, v5.7.2 | v2.4.2 | yes |
How important is it
High: a fixable HIGH CVE in a binary the appliance ships, and it blocks the 2.0.4 RigForge bake and every rootfs PR. The fix is a pin bump. #3150 (stale pins, v2.0.5) also lists the Compose pin as behind upstream; this issue covers only the security-driven bump.
Acceptance criteria
os/rootfs/Dockerfilebuilds Compose from a release whose containerd is a fixed version, withCOMPOSE_VERSIONandCOMPOSE_COMMITnaming the same tag. The build's existing tag check enforces this.- No
COMPOSE_GO_RAISESentry is obsolete or downgrades a module that the new source already selects (thescripts/watch/go-raise-watch.shclassification). - "Build + scan the appliance rootfs" passes with no fixable HIGH/CRITICAL finding, and no new
.config/trivyignoreentry.
Possible solutions
- Bump Compose to v5.7.2, the newest v5.7.x (commit
ed25575984c8dbd1ad137c93002d782f52478809,go 1.26.11, containerd v2.4.2), in the same PR as the Go builder bump (security(os): clear the rootfs scan: golang 1.26.11 and Compose v5.7.2 (#4265, #4291) #4279), so the gate goes green in one change. - Alternatively, raise containerd to v2.4.2 through
COMPOSE_GO_RAISESon v5.5.1. That keeps an old Compose and adds a cross-minor dependency raise.
🤖 Generated with Claude Code
Activity
Build Compose v5.7.2 so its containerd v2.4.2 clears CVE-2026-95839 (#…
security(os): clear the rootfs scan: golang 1.26.11 and Compose v5.7.2 (
pithead-developer commentedon Nov 20, 2026
Merged in #4279.
security(os): clear the rootfs scan: golang 1.26.11 and Compose v5.7.2 (