CVE-2025-62725
Last modified
CVE-2025-62725 is a high-severity vulnerability rated 8.9/10 on the CVSS scale. 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. EPSS estimates a 13.85% chance of exploitation in the next 30 days.
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-62725?
How severe is CVE-2025-62725?
How do I fix CVE-2025-62725?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-6272A vulnerability has been found in wasm3 0.5.0 and classified…3.3
- CVE-2025-62720LinkAce is a self-hosted archive to collect website links. V…6.5
- CVE-2025-62721LinkAce is a self-hosted archive to collect website links. I…6.5
- CVE-2025-62722LinkAce is a self-hosted archive to collect website links. I…5.4
- CVE-2025-62723FlashMQ is a MQTT broker/server, designed for multi-CPU envi…4.3
- CVE-2025-62724Open OnDemand is an open-source HPC portal. Prior to version…4.3
- CVE-2025-62726n8n is an open source workflow automation platform. Prior to…8.8
- CVE-2025-62727Starlette is a lightweight ASGI framework/toolkit. Starting …7.5
- CVE-2025-62728SQL injection vulnerability in Hive Metastore Server (HMS) w…5.4
- CVE-2025-62729SOPlanning is vulnerable to Stored XSS in /status endpoint. …5.4
- CVE-2025-6273A vulnerability was found in WebAssembly wabt up to 1.0.37 a…3.3
- CVE-2025-62730SOPlanning is vulnerable to Privilege Escalation in user man…8.8
Are you affected by CVE-2025-62725?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
