SCA: security update for github.com/docker/compose/v2 (GHSA-gv8h-7v7w-r22q)

high Tenable Cloud Security Plugin ID 437045

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-62725)

See Also

https://github.com/advisories/GHSA-gv8h-7v7w-r22q

Plugin Details

Severity: High

ID: 437045

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 1/27/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 58.03

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2025-62725

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.9

Threat Score: 5.9

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 10/27/2025

Vulnerability Publication Date: 10/27/2025

Reference Information

CVE: CVE-2025-62725