Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. agpt
  4. ›
  5. CVE-2026-24780

CVE-2026-24780: AutoGPT is Vulnerable to RCE via Disabled Block Execution

January 29, 2026 (updated January 30, 2026)

AutoGPT Platform’s block execution endpoints (both main web API and external API) allow executing blocks by UUID without checking the disabled flag. Any authenticated user can execute the disabled BlockInstallationBlock, which writes arbitrary Python code to the server filesystem and executes it via __import__(), achieving Remote Code Execution. In default self-hosted deployments where Supabase signup is enabled, an attacker can self-register; if signup is disabled (e.g., hosted), the attacker needs an existing account.

References

  • github.com/Significant-Gravitas/AutoGPT
  • github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/api/external/v1/routes.py
  • github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/api/features/v1.py
  • github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/api/features/v1.py
  • github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/blocks/block.py
  • github.com/Significant-Gravitas/AutoGPT/blob/master/autogpt_platform/backend/backend/data/block.py
  • github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-r277-3xc5-c79v
  • github.com/advisories/GHSA-r277-3xc5-c79v
  • nvd.nist.gov/vuln/detail/CVE-2026-24780

Code Behaviors & Features

Detect and mitigate CVE-2026-24780 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.2.2

Solution

Unfortunately, there is no solution available yet.

Impact 9.9 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions
  • CWE-863: Incorrect Authorization
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/agpt/CVE-2026-24780.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:35:16 +0000.