Skip to main content
Mallory
HighPublic exploitVulnerability

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

Published May 18, 2026 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.1High · v3.1
EPSS0.40%26th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-30950CWE-639

CVE-2026-30950 is an authenticated insecure direct object reference (IDOR) / authorization bypass vulnerability in AutoGPT autogpt-platform-backend affecting versions 0.6.36 through 0.6.50. The flaw is in the PATCH /api/chat/sessions/{session_id}/assign-user endpoint, which is intended to let a newly authenticated user claim an anonymous session. Although the route requires a valid JWT, it does not verify that the caller owns the target session before reassigning it. In the vulnerable code path, the service function assign_user_to_session retrieves the target session by calling the session lookup helper with user_id=None. The data access layer interprets user_id=None as a privileged or system context and skips the normal ownership filter, allowing any authenticated user who knows another user’s session_id to reassign that session to themselves. Successful exploitation enables takeover of the victim’s chat session, including access to message history and associated session context, and can lock the legitimate user out. The issue was patched in version 0.6.51.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An authenticated attacker can take over another user’s AutoGPT chat session if they know the target session_id. This provides unauthorized access to the victim’s session contents, including chat history and potentially sensitive context such as tool invocations, credentials-related metadata, execution context, and user-pasted content or files. The attacker can also deny the legitimate user access to the session by reassigning ownership. Due to Redis-cached ownership state, the lockout can persist for up to 12 hours and may become durable if later session persistence writes the attacker-controlled ownership back end-to-end.

Mitigation

If you can’t patch tonight, do this now.

If immediate patching is not possible, restrict or disable access to the PATCH /api/chat/sessions/{session_id}/assign-user endpoint where feasible, especially if anonymous-to-authenticated session claiming is not required. Reduce opportunities for session_id disclosure by avoiding exposure in URLs, logs, referer headers, support artifacts, and screen shares. Monitor for suspicious session reassignment activity and unexpected ownership changes. Invalidate affected sessions and clear Redis-cached session state after suspected exploitation to remove attacker-controlled ownership mappings.

Remediation

Patch, then assume compromise.

Upgrade autogpt-platform-backend to version 0.6.51 or later, which patches the authorization flaw in the session assignment logic. The vulnerable endpoint must enforce ownership validation before allowing reassignment of a session, and privileged lookup behavior using user_id=None should not be reachable from user-controlled request paths. Review any custom forks or downstream modifications to ensure the assign-user flow cannot bypass object-level authorization checks.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
autogpt-CVE-2026-30950-pocRepository contains a self-contained proof-of-concept for CVE-2026-30950 affecting AutoGPT Platform Backend. The main exploit is pocs/session_hijack.py, a Python script using requests to authenticate against Supabase/Kong, create and query chat sessions, and exploit a missing authorization check by sending PATCH /api/chat/sessions/{session_id}/assign-user with an attacker JWT. The exploit demonstrates that any authenticated user can take ownership of another user’s chat session if they know the session UUID, then read the session while the original owner is denied access. This is a real exploit, not just detection logic. Repository structure is small and purpose-built: README.md documents the vulnerability, impact, and usage; pocs/session_hijack.py is the exploit entry point; setup/setup.sh bootstraps a vulnerable AutoGPT lab by cloning Significant-Gravitas/AutoGPT at tag autogpt-platform-beta-v0.6.50, starting the required Docker Compose services, creating attacker/victim users, and validating the vulnerable route; setup/docker-compose.override.yml isolates the lab under custom project/network/container names and exposes only ports 58000 and 58006; setup/teardown.sh removes the environment. The exploit targets authenticated web/API access rather than local code execution and provides session hijacking, message disclosure, and victim lockout, but does not deliver arbitrary code execution or a shell.ZeroPathAI · Disclosed May 20, 2026 · python · bash · web · networkOperational
FAQ

Frequently asked questions

Is CVE-2026-30950 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2026-30950 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-30950?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2026-30950, the earliest disclosed May 20, 2026.
Is there a patch for CVE-2026-30950?
Upgrade autogpt-platform-backend to version 0.6.51 or later, which patches the authorization flaw in the session assignment logic. The vulnerable endpoint must enforce ownership validation before allowing reassignment of a session, and privileged lookup behavior using user_id=None should not be reachable from user-controlled request paths.
How severe is CVE-2026-30950?
CVE-2026-30950 has a CVSS v3.1 score of 7.1 (High) and an EPSS score of 0.40% (26th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.