appflowy_backup image: critical CVEs in bundled Go binaries (docker, gosu, docker-compose)

Open
#9,140 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
67/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, go

Research direction

Start by locating the Dockerfile and build scripts for the appflowy_backup image, then trace how the Docker CLI, docker-compose and gosu binaries are added. Check their versions against the fixed releases listed in the issue and rebuild the image. Done means the listed binaries no longer report the two CVEs in the provided Trivy scan.

Written by the indexing model from the issue text.

Description

Hi, we self-host AppFlowy Cloud and scan our images with Trivy before deploying.

All recent appflowyinc/appflowy_backup tags we tested (0.20.7-pg18 and 0.21.9-pg18) report two critical CVEs that have upstream fixes, both in Go binaries bundled in the image:

  • CVE-2025-68121 (Go stdlib crypto/tls), in /usr/local/bin/docker, /usr/local/bin/gosu and /usr/local/libexec/docker/cli-plugins/docker-compose. Fixed in Go 1.24.13 / 1.25.7.
  • CVE-2026-33186 (google.golang.org/grpc), in docker-compose. Fixed in grpc 1.79.3.

Reproduce: trivy image --severity CRITICAL --ignore-unfixed appflowyinc/appflowy_backup:0.21.9-pg18

Could the image be rebuilt with up-to-date docker CLI, docker-compose and gosu releases? Thanks!

Dominant language
Dart
Stars
79.1k
Forks
6.3k
Avg merge
17h 29m
Merged PRs (30d)
1

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AppFlowy-IO/AppFlowy

All issues in AppFlowy-IO/AppFlowy

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.