CVE-2026-24780: AutoGPT Remote Code Execution via Disabled Block Execution

agpt Updated 29 Jan 2026

Summary

29/01/2026
No i
Critical
9.4

CVE-2026-24780: AutoGPT is Vulnerable to RCE via Disabled Block Execution. Affects agpt versions < 0.2.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

AutoGPT is an open-source platform designed for autonomous AI agents. It allows users to create and manage AI-driven tasks through a web interface and APIs. The platform's architecture includes various blocks that can be executed to perform specific functions. However, a critical vulnerability exists that allows authenticated users to execute disabled blocks, leading to potential remote code execution (RCE).

Vulnerability Detail

The vulnerability arises from the AutoGPT platform's block execution endpoints, which do not verify the 'disabled' flag before executing blocks by UUID. This oversight allows any authenticated user to execute a disabled block, specifically the BlockInstallationBlock, which can write and execute arbitrary Python code on the server. The implications of this vulnerability are severe, as it can lead to complete server compromise, unauthorized access to user data, and potential lateral movement within connected infrastructure. The vulnerability is exacerbated by the fact that the UUID for the vulnerable block is hardcoded and publicly accessible in the source code.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can restrict access to the AutoGPT platform by disabling user registration or limiting account creation to trusted individuals. Additionally, monitoring and auditing user activities can help mitigate potential exploitation until a patch is applied.

Conclusion

The AutoGPT platform has a critical vulnerability that allows remote code execution through disabled blocks. Users are strongly advised to update to the latest version to mitigate the risk. Additionally, employing workarounds can help reduce exposure until a patch is applied.

See every vulnerability recorded for agpt →

Share this vulnerability

FAQ

CVE-2026-24780 is a vulnerability in the AutoGPT platform that allows authenticated users to execute disabled blocks, potentially leading to remote code execution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The consequences include complete server compromise, unauthorized access to sensitive data, and the ability to execute arbitrary code on the server.

You can update the AutoGPT package by running the command 'pip install --upgrade agpt' in your terminal.

Yes, the CVSS score for this vulnerability is 9.4, indicating a critical level of severity.

Related vulnerabilities

Recent vulnerabilities recorded for agpt.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback