{"id":"CVE-2023-37273","published":"2023-07-13T22:33:16Z","modified":"2024-10-30T18:46:55Z","title":"Docker escape in Auto-GPT when running from docker-compose.yml included in git repo","vendor":"Significant-Gravitas","product":"Auto-GPT","tier":"tail","description":{"text":"Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. Running Auto-GPT version prior to 0.4.3 by cloning the git repo and executing `docker compose run auto-gpt` in the repo root uses a different docker-compose.yml file from the one suggested in the official docker set up instructions. The docker-compose.yml file located in the repo root mounts itself into the docker container without write protection. This means that if malicious custom python code is executed via the `execute_python_file` and `execute_python_code` commands, it can overwrite the docker-compose.yml file and abuse it to gain control of the host system the next time Auto-GPT is started. The issue has been patched in version 0.4.3.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00358,"percentile":0.30308,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Significant-Gravitas/Auto-GPT/security/advisories/GHSA-x5gj-2chr-4ch6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Significant-Gravitas/Auto-GPT/pull/4761","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":6.06},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-06-23","earliestUrl":"https://github.com/gdesantis01/instructions-summarizing","repos":[{"name":"gdesantis01/instructions-summarizing","url":"https://github.com/gdesantis01/instructions-summarizing","stars":0,"created":"2025-06-23"}]},"first":{"date":"2025-06-23","source":"PoC-in-GitHub","url":"https://github.com/gdesantis01/instructions-summarizing"},"provenance":"source"},"vendorSlug":"significant-gravitas","affectedVersions":[{"vendor":"Significant-Gravitas","product":"Auto-GPT","versions":["< 0.4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-10-30T18:46:43.439902Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-41184","exploited":false,"provenance":"source"}}