Skip to content
HighVulnerability

CVE-2026-30950: AutoGPT session hijacking via IDOR in assign-user endpoint

Identifier
CVE-2026-30950
Published
Record updated
View JSON

Summary

AutoGPT versions 0.6.36 through 0.6.50 contain an IDOR flaw enabling authenticated session hijacking. An authenticated attacker who can determine another user's session_id can reassign that session to themselves via the PATCH /sessions/{session_id}/assign-user endpoint, which never verifies ownership because the service layer calls the session lookup with user_id=None, bypassing the ownership filter in the data access layer. The attacker can then read the session's messages and lock the legitimate user out.

Mitigation

Fixed in version 0.6.51.