Advisory record · GHSA-gv8h-7v7w-r22q

Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations in github.com/docker/compose

CVSS 8.9 HighCriticalEPSS 0.17 · 97th percentile

Critical, because:

  • CVSS score 8.9 (7.0 or more) and EPSS 0.17 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical

Published by the GitHub Advisory Database at 30 Oct 2025, 15:02 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/docker/composeGoall versionsNo fixed version yet
github.com/docker/compose/v2Go<2.40.22.40.2
Identifiers
GHSA-gv8h-7v7w-r22q · CVE-2025-62725 · GO-2025-4077
Weakness (CWE)
CWE-22
Published
30 Oct 2025
Updated
3 Mar 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Path traversal via OCI artifact layer annotations affects github.com/docker/compose/v2 before 2.40.2, and github.com/docker/compose is listed as affected in all versions with no fixed version given. The source gives few details on what an attacker needs or what they can reach. Upgrade github.com/docker/compose/v2 to 2.40.2 or later.

Written 10 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.9 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.17, the 97th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

This record came from the full history of the GitHub Advisory Database, published 30 Oct 2025. New records show when each source confirmed them.

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.