{"id":"CVE-2023-37273","aliases":["CVE-2023-37273"],"related":[],"kind":"vulnerability","state":"published","title":"Docker escape in Auto-GPT when running from docker-compose.yml included in git repo","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2023-07-13T22:33:16.889Z","modified":"2026-06-17T06:07:51.867Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"< 0.4.3","status":"affected"}],"vendor":"Significant-Gravitas","product":"Auto-GPT","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.4.3"}],"vendor":"agpt","product":"autogpt_classic","cpe":"cpe:2.3:a:agpt:autogpt_classic:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/Significant-Gravitas/Auto-GPT/security/advisories/GHSA-x5gj-2chr-4ch6","tags":["patch","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Significant-Gravitas/Auto-GPT/pull/4761","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-10-30T18:46:43.439Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-37273","url":"https://www.cve.org/CVERecord?id=CVE-2023-37273","licence":"CVE Terms of Use","modified":"2024-10-30T18:46:55.656Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-37273","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37273","licence":"Public domain","modified":"2026-06-17T06:07:51.867Z"}],"updatedAt":"2026-11-25T22:58:25.786Z","epss":{"score":0.00358,"percentile":0.31545,"date":"2026-12-01T12:00:22.000Z"}}