AutoGPT Authenticated Session Hijacking via IDOR (CVE-2026-30950)

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 formats

2 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.

high T1078.004 Persistence

CVE-2026-30950 - AutoGPT Authenticated Session Hijacking via IDOR

Sigma YAML — free preview
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

✓ Sigma · Splunk SPL Sentinel KQL Elastic QRadar AQL Wazuh Get rules for your SIEM →

Indicators of Compromise

IDTypeIndicator
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 PlatformNVD
ChannelNational Vulnerability Database
PublishedMay 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.

Related coverage

CVE-2026-20240 — Denial of Service

CVE-2026-20240 — In Splunk Enterprise versions below 10.2.2, 10.0.5, 9.4.11, and 9.3.12, and Splunk Cloud Platform versions below 10.4.2603.1, 10.3.2512.9, 10.2.2510.11, 10.1.2507.21, 10.0.2503.13, and 9.3.2411.129,...

vulnerabilityCVEmedium-severitydenial-of-servicecwe-20
/SCW Vulnerability Desk /MEDIUM /6.5 /⚑ 2 IOCs /⚙ 2 Sigma

Splunk Enterprise, Cloud Vulnerability Exposes Session Cookies, Sensitive Data

CVE-2026-20239 — In Splunk Enterprise versions below 10.2.2 and 10.0.5, and Splunk Cloud Platform versions below 10.3.2512.8, 10.2.2510.11, 10.1.2507.21, and 10.0.2503.13, a user with a...

vulnerabilityCVEhigh-severitycwe-532
/SCW Vulnerability Desk /HIGH /7.5 /⚑ 5 IOCs /⚙ 4 Sigma

CVE-2026-20238 — In Splunk AI Toolkit versions below 5.7.3, a low-privileged

CVE-2026-20238 — In Splunk AI Toolkit versions below 5.7.3, a low-privileged user that does not hold the 'admin' or 'power' roles could access confidential data...

vulnerabilityCVEmedium-severitycwe-863
/SCW Vulnerability Desk /MEDIUM /6.5 /⚑ 2 IOCs /⚙ 2 Sigma