CVE-2025-31491
8.6 · HIGHOverview
CVE-2025-31491 is a high-severity vulnerability affecting agpt autogpt_platform. It was published on April 15, 2025 and has a CVSS 3.1 base score of 8.6 (HIGH).
This vulnerability has a CVSS 3.1 base score of 8.6, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
Technical 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 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
Remediation
Check the references section for vendor advisories and patches from agpt. Update autogpt_platform 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_platform | >= 0, < 0.6.1 | Affected |
Frequently Asked Questions
What is CVE-2025-31491?
CVE-2025-31491 is a high-severity vulnerability affecting agpt autogpt_platform. It was published on April 15, 2025 and has a CVSS 3.1 base score of 8.6 (HIGH).
How severe is CVE-2025-31491?
This vulnerability has a CVSS 3.1 base score of 8.6, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.
How do I fix or remediate CVE-2025-31491?
Check the references section for vendor advisories and patches from agpt. Update autogpt_platform 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-2025-31491?
CyberStrike's AI-powered security agents can automatically detect CVE-2025-31491 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.
How CyberStrike Helps
AI agents map your attack surface to find vulnerabilities like this one.
Automated penetration testing that runs continuously, not just quarterly.
AI-driven PR review catches vulnerable dependencies before they ship.
Browser-based exploitation validates findings with real proof-of-concept.
Related HIGH CVEs from 2025
View all →HCL MyXalytics is affected by out-of-band resource load (HTTP) vulnerability. An attacker can deplo
The NextEPC MME <= 1.0.1 (fixed in commit a8492c9c5bc0a66c6999cb5a263545b32a4109df) contains a stack
A flaw was found in the Red Hat Advanced Cluster Security (RHACS) portal. When rendering a table vie
A Stored Cross-Site Scripting (XSS) vulnerability exists in the chat file upload functionality of op
A: Improper Neutralization of Input During Web Page Generation vulnerability in SUSE rancher allows
Mbed TLS before 3.6.4 allows a use-after-free in certain situations of applications that are develop
In iperf before 3.19.1, net.c has a buffer overflow when --skip-rx-copy is used (for MSG_TRUNC in re
Missing authorization in Ivanti Connect Secure before 22.7R2.9 or 22.8R2, Ivanti Policy Secure befor
Memory corruptions can be remotely triggered in the Control-M/Agent when SSL/TLS communication is co
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerab
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerab
An issue in Orban Optimod 5950, Optimod 5950HD, Optimod 5750, Optimod 5750HD, Optimod Trio Optimod v