Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege AutoGPT account
-
DeliveryDiscover target session_id (leak or enumeration)
-
ExploitSend PATCH /sessions/{session_id}/assign-user
-
ExecutionBackend skips ownership check (user_id=None)
-
PersistSession reassigned to attacker
-
ImpactRead victim conversation and lock owner out
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated AutoGPT account on a vulnerable instance running version 0.6.36 through 0.6.50 with the session management API reachable, and the attacker must know or be able to obtain the session_id of a target session in order to invoke PATCH /sessions/{session_id}/assign-user. The attack is limited by the need for any valid login (PR:L, not PR:N) and by the practical difficulty of learning another user's session_id - if session IDs are high-entropy and not leaked through URLs, logs, or other channels, exploitation effectively becomes opportunistic against IDs the attacker happens to observe rather than fully blind. No user interaction by the victim is needed, and no special non-default configuration is described as required. |
| Impact | The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L scores 7.1 (High) and is internally consistent with the description: network-reachable HTTP endpoint, low attack complexity, low-privileged authenticated attacker, no user interaction, full confidentiality loss of the hijacked session's content, no integrity impact on system data, and limited availability impact (the original owner is locked out of that session). EPSS data was not provided and the CVE is not listed in CISA KEV; combined with no public exploit identified at time of analysis, this reads as a credible but not yet widely weaponized issue. The main residual uncertainty is how easily session_id values can be enumerated or leaked in real deployments - if they are sequential or otherwise predictable, real-world risk rises sharply; if they are high-entropy UUIDs, the IDOR is gated by an information-disclosure precondition that is not described in the available data and should be verified against the source. |
| Exploit ScenarioDerived | An attacker registers or already holds a low-privilege AutoGPT account, learns or guesses a target user's session_id (for example via a leaked URL, log entry, support ticket, or enumeration if IDs are predictable), and issues a PATCH request to /sessions/{session_id}/assign-user with their own credentials. The backend authenticates the request, calls the session lookup with user_id=None, skips the ownership check, and reassigns ownership of the victim's session to the attacker, who then reads its conversation history and effectively logs the victim out of that session. No public exploit identified at time of analysis, but the patch commit makes the exact mismatched call site trivially discoverable. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 18, 2026
Authenticated session hijacking in Significant Gravitas AutoGPT versions 0.6.36 through 0.6.50 allows any logged-in user to take over another user's session via an IDOR flaw in the PATCH /sessions/{session_id}/assign-user endpoint. An attacker who can guess or otherwise learn a target session_id can reassign that session to themselves, read its conversation contents, and lock the legitimate owner out. No public exploit identified at time of analysis, and the issue is fixed in 0.6.51 per the upstream GHSA-q58p-v9r9-7gqj advisory.
RemediationAI
Upgrade to the vendor-released patched version AutoGPT 0.6.51 or later, which is the fix referenced in advisory https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-q58p-v9r9-7gqj and commit https://github.com/Significant-Gravitas/AutoGPT/commit/eca7b5e79370c34ed75e80badb824023d7d8629d. If immediate upgrade is not possible, restrict network access to the AutoGPT API so that only trusted authenticated users can reach the PATCH /sessions/{session_id}/assign-user endpoint (for example via reverse proxy ACL or WAF rule blocking that specific path), accepting that this disables legitimate session reassignment for blocked users; additionally, audit application logs for unexpected calls to the assign-user endpoint and rotate or invalidate active sessions for high-value accounts. As a code-level workaround for self-hosted forks, ensure the service layer passes the caller's user_id (not None) into the session lookup so the DAL enforces ownership.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AutoGPT is an open-source workflow automation platform for building and operating autonomous AI agents, with a backend that persists per-user agent 'sessions' containing conversation history and state. The vulnerability is a textbook CWE-862 Missing Authorization: the session reassignment endpoint authenticates the caller but the service layer calls into the data access layer with user_id=None, a sentinel that the DAL interprets as a privileged/system context and therefore skips the ownership filter on the session lookup. As a result, the standard 'tenant scoping' that normally constrains a user to their own session rows is silently bypassed for this code path, even though the rest of the request flow looks correctly authenticated. The CPE cpe:2.3:a:significant-gravitas:autogpt:*:*:*:*:*:*:*:* indicates the flaw is in the AutoGPT application layer itself rather than an underlying library.
Know when Autogpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
AutoGPT is a workflow automation platform for creating, deploying, and managing continuous artificial intelligence agents. Versions 0.6.36 through 0.6.50 are vulnerable to Authenticated Session Hijacking via IDOR. If an authenticated attacker can determine the session_id of another user's session, they can take it over, reading any messages in it and locking the legitimate user out. The PATCH /sessions/{session_id}/assign-user endpoint authenticates the caller but never verifies session ownership: the service layer invokes the session lookup with user_id=None, which the data access layer interprets as a privileged/system call that bypasses the ownership filter, allowing any authenticated user to reassign an arbitrary session to themselves. This issue has been patched in version 0.6.51.
Executive ViewAI
Significant Gravitas AutoGPT versions 0.6.36 through 0.6.50 contain a session hijacking vulnerability that allows authenticated users to take over other users' sessions and access their conversation data. Any organization using these versions should prioritize upgrading immediately, as this vulnerability enables account compromise and potential data exposure within your deployment.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
DOM-based cross-site scripting in AutoGPT versions prior to 0.6.62 allows remote attackers to execute arbitrary JavaScri
Resource exhaustion denial-of-service in Significant Gravitas AutoGPT versions prior to 0.6.63 allows remote unauthentic
Denial of service in Significant-Gravitas AutoGPT prior to 0.6.63 allows remote attackers to exhaust host disk space by
Denial of service in AutoGPT prior to 0.6.63 allows remote unauthenticated users to exhaust host disk space by chaining
Denial of service in AutoGPT versions prior to 0.6.63 allows remote unauthenticated attackers to exhaust disk space on t
Server-side request forgery in the AutoGPT Platform (versions prior to 0.6.52) lets an authenticated user abuse the Send
Webhook signature verification bypass in AutoGPT Platform before 0.6.70 allows unauthenticated remote attackers to trigg
Insecure deserialization in Significant-Gravitas AutoGPT platform versions 0.6.34 through 0.6.51 lets an attacker who ca
Unauthenticated denial-of-service in AutoGPT Platform versions 0.4.2 through 0.6.51 allows remote attackers to exhaust s
Disk exhaustion denial-of-service in Significant Gravitas AutoGPT prior to version 0.6.63 allows authenticated platform
Improper access control in AutoGPT’s webhook ping endpoint allows any authenticated user to enumerate other users’ webho
Memory exhaustion in AutoGPT's AITextSummarizerBlock allows authenticated users to trigger extreme resource amplificatio
EUVD-2026-30814
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB