Significant-Gravitas AutoGPT
AutoGPT has Authenticated Session Hijacking via IDOR
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.6.36, < 0.6.51
Fixed in 0.6.51
Mitigation
Upgrade AutoGPT to 0.6.51 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.9 days after publication; not in CISA KEV. First PoC: ZeroPathAI/autogpt-CVE-2026-30950-poc (created 20 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ZeroPathAI/autogpt-CVE-2026-30950-poc | 20 May 2026 +1.9 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api/chat/sessions/{var}
- Ports
- 58000, 58006
- Seen in
- 1 repo: ZeroPathAI/autogpt-CVE-2026-30950-poc
- Evidence
- ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:197 ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:205 ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:236 ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:254
PATCH /api/chat/sessions/{var}/assign-user
- Ports
- 58000, 58006
- Seen in
- 1 repo: ZeroPathAI/autogpt-CVE-2026-30950-poc
- Evidence
- ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:223
POST /api/auth/user
- Ports
- 58000, 58006
- Seen in
- 1 repo: ZeroPathAI/autogpt-CVE-2026-30950-poc
- Evidence
- ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:151
POST /api/chat/sessions
- Ports
- 58000, 58006
- Seen in
- 1 repo: ZeroPathAI/autogpt-CVE-2026-30950-poc
- Evidence
- ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:184
POST /auth/v1/token
- Query
grant_type=password- Key headers
Apikey: {var}- Body markers
"email""password"inapplication/json- Ports
- 58000, 58006
- Seen in
- 1 repo: ZeroPathAI/autogpt-CVE-2026-30950-poc
- Evidence
- ZeroPathAI/autogpt-CVE-2026-30950-poc/pocs/session_hijack.py:132
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/chat/sessions/[^/?#]*(?:[?#].*)?$
(?i)^/api/chat/sessions/[^/?#]*/assign-user(?:[?#].*)?$
(?i)^/api/auth/user(?:[?#].*)?$
(?i)^/api/chat/sessions(?:[?#].*)?$
(?i)^/auth/v1/token\?(?:.*&)?grant_type=password
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [58000,58006] (msg:"GG PoC-Monitor CVE-2026-30950 Significant-Gravitas AutoGPT exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/chat/sessions/"; reference:url,poc.griffinguard.io/cve/CVE-2026-30950; classtype:web-application-attack; sid:9450382; rev:1;)
alert http any any -> $HOME_NET [58000,58006] (msg:"GG PoC-Monitor CVE-2026-30950 Significant-Gravitas AutoGPT exploit attempt"; flow:established,to_server; http.method; content:"PATCH"; http.uri; content:"/api/chat/sessions/"; http.uri; content:"/assign-user"; reference:url,poc.griffinguard.io/cve/CVE-2026-30950; classtype:web-application-attack; sid:9330820; rev:1;)
alert http any any -> $HOME_NET [58000,58006] (msg:"GG PoC-Monitor CVE-2026-30950 Significant-Gravitas AutoGPT exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/auth/user"; reference:url,poc.griffinguard.io/cve/CVE-2026-30950; classtype:web-application-attack; sid:9134360; rev:1;)
alert http any any -> $HOME_NET [58000,58006] (msg:"GG PoC-Monitor CVE-2026-30950 Significant-Gravitas AutoGPT exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/chat/sessions"; reference:url,poc.griffinguard.io/cve/CVE-2026-30950; classtype:web-application-attack; sid:9764730; rev:1;)
alert http any any -> $HOME_NET [58000,58006] (msg:"GG PoC-Monitor CVE-2026-30950 Significant-Gravitas AutoGPT exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/auth/v1/token"; http.uri; content:"grant_type=password"; http.header_names; content:"Apikey"; nocase; http.request_body; content:"|22|email|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-30950; classtype:web-application-attack; sid:9579719; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Significant-Gravitas AutoGPT exploit attempt (CVE-2026-30950)
id: gg-pocmon-cve-2026-30950-9450382
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-30950. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-30950
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/chat/sessions/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.30950
title: Significant-Gravitas AutoGPT exploit attempt (CVE-2026-30950)
id: gg-pocmon-cve-2026-30950-9330820
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-30950. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-30950
logsource:
category: webserver
detection:
selection:
cs-method: PATCH
cs-uri-stem|contains|all:
- '/api/chat/sessions/'
- '/assign-user'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.30950
title: Significant-Gravitas AutoGPT exploit attempt (CVE-2026-30950)
id: gg-pocmon-cve-2026-30950-9134360
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-30950. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-30950
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/auth/user'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.30950
title: Significant-Gravitas AutoGPT exploit attempt (CVE-2026-30950)
id: gg-pocmon-cve-2026-30950-9764730
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-30950. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-30950
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/api/chat/sessions'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.30950
title: Significant-Gravitas AutoGPT exploit attempt (CVE-2026-30950)
id: gg-pocmon-cve-2026-30950-9579719
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-30950. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-30950
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/auth/v1/token'
cs-uri-query|contains|all:
- 'grant_type=password'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.30950