CVE-2025-31490 Details
Description
AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.1, AutoGPT allows SSRF due to DNS Rebinding in requests wrapper. AutoGPT is built with a wrapper around Python's requests library, hardening the application against SSRF. The code for this wrapper can be found in autogpt_platform/backend/backend/util/request.py. The requested hostname of a URL which is being requested is validated, ensuring that it does not resolve to any local ipv4 or ipv6 addresses. However, this check is not sufficient, as a DNS server may initially respond with a non-blocked address, with a TTL of 0. This means that the initial resolution would appear as a non-blocked address. In this case, validate_url() will return the url as successful. After validate_url() has successfully returned the url, the url is then passed to the real request() function. When the real request() function is called with the validated url, request() will once again resolve the address of the hostname, because the record will not have been cached (due to TTL 0). This resolution may be in the "invalid range". This type of attack is called a "DNS Rebinding Attack". This vulnerability is fixed in 0.6.1.
A server-side request forgery (SSRF) vulnerability has been identified in AutoGPT versions prior to 0.6.1. This issue arises from DNS rebinding attacks that exploit the application's request validation process. AutoGPT includes a wrapper around Python's requests library, designed to prevent SSRF by blocking access to local IPv4 and IPv6 addresses. However, the validation is insufficient, as a DNS server can return a non-blocked address with a TTL of 0, allowing the initial request to be validated as safe. Once the URL is validated, the actual request is made, during which the hostname is resolved again, potentially leading to an invalid IP address being accessed. This vulnerability could be exploited to leak authentication headers and cookies by following open redirects that are not properly sanitized.
Users can update to AutoGPT version 0.6.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 15, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| agpt autogpt platform | < 0.6.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 5, 2025 | Reanalysis | [email protected] |
| May 21, 2025 | Initial Analysis | [email protected] |
| Apr 15, 2025 | CVE Modified | [email protected] |
| Apr 14, 2025 | New CVE Received | [email protected] |