Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-37274

7.5 · HIGH
Published Jul 13, 2023 agpt CWE-94 EPSS 0.35% (28th pctl)

Overview

CVE-2023-37274 is a high-severity vulnerability affecting agpt autogpt_classic. It was published on July 13, 2023 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

Auto-GPT is an experimental open-source application showcasing the capabilities of the GPT-4 language model. When Auto-GPT is executed directly on the host system via the provided run.sh or run.bat files, custom Python code execution is sandboxed using a temporary dedicated docker container which should not have access to any files outside of the Auto-GPT workspace directory.

Before v0.4.3, the `execute_python_code` command (introduced in v0.4.1) does not sanitize the `basename` arg before writing LLM-supplied code to a file with an LLM-supplied name. This allows for a path traversal attack that can overwrite any .py file outside the workspace directory by specifying a `basename` such as `../../../main.py`. This can further be abused to achieve arbitrary code execution on the host running Auto-GPT by e.g. overwriting autogpt/main.py which will be executed outside of the docker environment meant to sandbox custom python code execution the next time Auto-GPT is started. The issue has bee

Remediation

Check the references section for vendor advisories and patches from agpt. Update autogpt_classic to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
agpt autogpt_classic >= 0, < 0.4.3 Affected

Frequently Asked Questions

What is CVE-2023-37274?

CVE-2023-37274 is a high-severity vulnerability affecting agpt autogpt_classic. It was published on July 13, 2023 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2023-37274?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-37274?

Check the references section for vendor advisories and patches from agpt. Update autogpt_classic to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-37274?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-37274 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.