AutoGPT Authenticated Session Hijacking via IDOR (CVE-2026-30950)
The National Vulnerability Database has disclosed CVE-2026-30950, a high-severity vulnerability impacting AutoGPT versions 0.6.36 through 0.6.50. This flaw allows authenticated session hijacking via an Insecure Direct Object Reference (IDOR), enabling an attacker to take over another user’s session.
Specifically, the PATCH /sessions/{session_id}/assign-user endpoint fails to verify session ownership. The service layer’s invocation of the session lookup with user_id=None is interpreted by the data access layer as a privileged call, bypassing ownership checks. This critical design flaw permits any authenticated user to reassign an arbitrary session to themselves, gaining full access to messages and locking out the legitimate user. The vulnerability has been patched in version 0.6.51.
This isn’t just a bug; it’s a fundamental authorization breakdown. The attacker’s calculus here is simple: if they can get a foothold, even with low-level authentication, they can escalate. For defenders, this means any AutoGPT instance running vulnerable versions is a ticking time bomb. An attacker only needs a valid login to start snooping and disrupting other users.
What This Means For You
- If your organization utilizes AutoGPT, immediately verify your deployed versions. Any instance running AutoGPT versions 0.6.36 through 0.6.50 is critically vulnerable to session hijacking. Patch to version 0.6.51 or later without delay. Review logs for unauthorized session activity on your AutoGPT instances, especially for any reassignment attempts.
Related ATT&CK Techniques
🛡️ Detection Rules
2 rules · 6 SIEM formats2 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
CVE-2026-30950 - AutoGPT Authenticated Session Hijacking via IDOR
title: CVE-2026-30950 - AutoGPT Authenticated Session Hijacking via IDOR
id: scw-2026-05-18-ai-1
status: experimental
level: high
description: |
Detects the specific API endpoint and method used in AutoGPT versions 0.6.36-0.6.50 to hijack authenticated sessions via an Insecure Direct Object Reference (IDOR) vulnerability. An attacker can reassign another user's session to themselves by exploiting the PATCH /sessions/{session_id}/assign-user endpoint without proper session ownership verification.
author: SCW Feed Engine (AI-generated)
date: 2026-05-18
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-30950/
tags:
- attack.persistence
- attack.t1078.004
logsource:
category: webserver
detection:
selection:
cs-method:
- 'PATCH'
cs-uri:
- '/sessions/*/assign-user'
sc-status:
- '200'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-30950 | Auth Bypass | AutoGPT versions 0.6.36 through 0.6.50 |
| CVE-2026-30950 | IDOR | AutoGPT Authenticated Session Hijacking |
| CVE-2026-30950 | IDOR | Vulnerable endpoint: PATCH /sessions/{session_id}/assign-user |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | May 19, 2026 at 02:16 UTC |
This content was AI-rewritten and enriched by Shimi's Cyber World based on the original source. All intellectual property rights remain with the original author.
Believe this infringes your rights? Submit a takedown request.