Read the docs
TI-2025-22672 Aliases CVE-2025-31491

AutoGPT allows leakage of cross-domain cookies and protected headers in requests redirect

Priority HIGH 76CWE-200Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure, Spoofing
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-200 and CWE-601.

Summary

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 of leakage of cross-domain cookies and protected headers in requests redirect. AutoGPT uses a wrapper around the requests python library, located in autogpt_platform/backend/backend/util/request.py. In this wrapper, redirects are specifically NOT followed for the first request. If the wrapper is used with allow_redirects set to True (which is the default), any redirect is not followed by the initial request, but rather re-requested by the wrapper using the new location. However, there is a fundamental flaw in manually re-requesting the new location: it does not account for security-sensitive headers which should not be sent cross-origin, such as the Authorization and Proxy-Authorization header, and cookies. For example in autogpt_platform/backend/backend/blocks/github/_api.py, an Authorization header is set when retrieving data from the GitHub API. However, if GitHub suffers from an open redirect vulnerability (such as the made-up example of https://api.github.com/repos/{owner}/{repo}/issues/comments/{comment_id}/../../../../../redirect/?url=https://joshua.hu/), and the script can be coerced into visiting it with the Authorization header, the GitHub credentials in the Authorization header will be leaked. This allows leaking auth headers and private cookies. This vulnerability is fixed in 0.6.1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00493 42nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed AutoGPT (Significant-Gravitas): 0.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Significant-GravitasAutoGPTbefore 0.6.10.6.1Patch availableCNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:*before 0.6.1VulnerableSignificant-Gravitas
  • cpe:2.3:a:agpt:autogpt_platform:*:*:*:*:*:*:*:* Versions before 0.6.1 Vulnerable ·Significant-Gravitas

Remediation

  • Fix · CNA AutoGPT (Significant-Gravitas) Fixed in 0.6.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-31491

References

  • TI-2026-19981 AutoGPT is Vulnerable to RCE via Disabled Block Execution CVSS 4.0HIGH 8.6
  • TI-2025-23471 AutoGPT has a DoS vulnerability in ReadRSSFeedBlock CVSS 4.0HIGH 8.7
  • TI-2025-16489 AutoGPT SSRF vulnerability CVSS 4.0HIGH 7.7
  • TI-2025-00879 Server-Side Template Injection (SSTI) in significant-gravitas/autogpt CVSS 3.1HIGH 8.8
  • TI-2025-22671 AutoGPT allows SSRF due to DNS Rebinding in requests wrapper CVSS 3.1HIGH 7.5
  • TI-2025-00371 SSRF Check Bypass in Requests Utility in significant-gravitas/autogpt CVSS 3.1HIGH 7.5
See all 14 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences