CVE-2023-37273

Docker escape in Auto-GPT when running from docker-compose.yml included in git repo

Description

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.

Category

8.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.05%
Third-Party Advisory github.com Third-Party Advisory github.com
Affected: Significant-Gravitas Auto-GPT
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-37273?
CVE-2023-37273 has been scored as a high severity vulnerability.
How to fix CVE-2023-37273?
To fix CVE-2023-37273, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-37273 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-37273 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-37273?
CVE-2023-37273 affects Significant-Gravitas Auto-GPT.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.