VDB

GHSA-gv8h-7v7w-r22q

GHSA-gv8h-7v7w-r22q PUBLISHED CVSS 8.899999618530273 HIGH

Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations

Record from GitHub Advisory Database · Published October 27, 2025

github.com/docker/compose/v2 is fixed in 2.40.2 (Go Modules)

Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/docker/compose/v2Go Modules2.40.2

Risk scores

CVSS 4.0
8.899999618530273
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected products

VendorProductVersions
github.comdocker/compose/v22.34.0

Timeline

  • Oct 27, 2025 CVE Published
  • Apr 29, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-gv8h-7v7w-r22q
vulnetix vdb fixes GHSA-gv8h-7v7w-r22q

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/GHSA-gv8h-7v7w-r22q/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›