Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| docker | compose | affected |
|
No data.
No data.
| Vendor | Product | Versions |
|---|---|---|
| Docker | Composer | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-gv8h-7v7w-r22q | Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 15.8% (15.764% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Docker
Docker composer |
|
| Vendors & Products |
Docker
Docker composer |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Docker Compose trusts the path information embedded in remote OCI compose artifacts. When a layer includes the annotations com.docker.compose.extends or com.docker.compose.envfile, Compose joins the attacker‑supplied value from com.docker.compose.file/com.docker.compose.envfile with its local cache directory and writes the file there. This affects any platform or workflow that resolves remote OCI compose artifacts, Docker Desktop, standalone Compose binaries on Linux, CI/CD runners, cloud dev environments is affected. An attacker can escape the cache directory and overwrite arbitrary files on the machine running docker compose, even if the user only runs read‑only commands such as docker compose config or docker compose ps. This issue is fixed in v2.40.2. | |
| Title | Docker Compose Vulnerable to Path Traversal via OCI Artifact Layer Annotations | |
| Weaknesses | CWE-22 | |
| References |
| |
| Metrics |
cvssV4_0
|