Skip to content
Heist/ feed
Back to feed
Critical

AutoGPT Affected by Remote Code Execution via Dynamic Module Import in Block Loading (__import__)

Type: advisorySources: OSV

AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.48, an authenticated user could achieve Remote Code Execution (RCE) on the backend server by embedding a disabled block inside a graph. The BlockInstallationBlock — a development tool capable of writing and importing arbitrary Python code — was marked disabled=True, but graph validation did not enforce this flag. This allowed any authenticated user to bypass the restriction by including the block as a node in a graph, rather than calling the block's execution endpoint directly (which did enforce the flag). This vulnerability is fixed in 0.6.48.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-26020
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 19:23 UTC · Revision 1

Source evidence

AutoGPT Affected by Remote Code Execution via Dynamic Module Import in Block Loading (__import__)

core-osv · Original source

Published 12 Feb 2026, 20:52 UTC

AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.48, an authenticated user could achieve Remote Code Execution (RCE) on the backend server by embedding a disabled block inside a graph. The BlockInstallationBlock — a development tool capable of writing and importing arbitrary Python code — was marked disabled=True, but graph validation did not enforce this flag. This allowed any authenticated user to bypass the restriction by including the block as a node in a graph, rather than calling the block's execution endpoint directly (which did enforce the flag). This vulnerability is fixed in 0.6.48.

osv:CVE-2026-26020
Complete source record
{
  "id": "0fb466325bd701b45bb8f2d39337c0c5e498f7ba4ea79332607a86474c532db9",
  "url": "https://osv.dev/vulnerability/CVE-2026-26020",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "AutoGPT Affected by Remote Code Execution via Dynamic Module Import in Block Loading (__import__)",
    "summary": "AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to 0.6.48, an authenticated user could achieve Remote Code Execution (RCE) on the backend server by embedding a disabled block inside a graph. The BlockInstallationBlock — a development tool capable of writing and importing arbitrary Python code — was marked disabled=True, but graph validation did not enforce this flag. This allowed any authenticated user to bypass the restriction by including the block as a node in a graph, rather than calling the block's execution endpoint directly (which did enforce the flag). This vulnerability is fixed in 0.6.48.",
    "evidence": "osv:CVE-2026-26020",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-26020",
      "aliases": [
        "CVE-2026-26020",
        "GHSA-4crw-9p35-9x54"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/significant-gravitas/autogpt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "062fe1aa709217136b896c8b950e0f04435afb32"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.48"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "062fe1aa709217136b896c8b950e0f04435afb32"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "062fe1aa709217136b896c8b950e0f04435afb32"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "autogpt-platform-beta-v0.6.48"
                  },
                  {
                    "cpe": "cpe:2.3:a:agpt:autogpt_platform:*:beta:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.6.48"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "autogpt-platform-beta-v0.6.47",
            "autogpt-platform-beta-v0.6.46",
            "autogpt-platform-beta-v0.6.43",
            "autogpt-platform-beta-v0.6.42",
            "autogpt-platform-beta-v0.6.41",
            "autogpt-platform-beta-v0.6.40",
            "autogpt-platform-beta-v0.6.39",
            "autogpt-platform-beta-v0.6.38",
            "autogpt-platform-beta-v0.6.37",
            "autogpt-platform-beta-v0.6.36",
            "autogpt-platform-beta-v0.6.35",
            "autogpt-platform-beta-v0.6.34",
            "autogpt-platform-beta-v0.6.33",
            "autogpt-platform-beta-v0.6.32",
            "autogpt-platform-beta-v0.6.31",
            "autogpt-platform-beta-v0.6.30",
            "autogpt-platform-beta-v0.6.29",
            "autogpt-platform-beta-v0.6.28",
            "autogpt-platform-beta-v0.6.26",
            "autogpt-platform-beta-v0.6.22",
            "autogpt-platform-beta-v0.6.21",
            "autogpt-platform-beta-v0.6.20",
            "autogpt-platform-beta-v0.6.19",
            "autogpt-platform-beta-v0.6.18",
            "autogpt-platform-beta-v0.6.17",
            "autogpt-platform-beta-v0.6.16",
            "autogpt-platform-beta-v0.6.15",
            "autogpt-platform-beta-v0.6.14",
            "autogpt-platform-beta-v0.6.13",
            "autogpt-platform-beta-v0.6.12",
            "autogpt-platform-beta-v0.6.11",
            "autogpt-platform-beta-v0.6.10",
            "autogpt-platform-beta-v0.6.9",
            "autogpt-platform-beta-v0.6.8",
            "autogpt-platform-beta-v0.6.7",
            "autogpt-platform-beta-v0.6.6",
            "autogpt-platform-beta-v0.6.5",
            "autogpt-platform-beta-v0.6.4",
            "autogpt-platform-beta-v0.6.2",
            "autogpt-platform-beta-v0.6.1",
            "autogpt-platform-beta-v0.6.0",
            "autogpt-platform-beta-v0.5.1",
            "autogpt-platform-beta-v0.5.0",
            "autogpt-platform-beta-v0.4.11",
            "autogpt-platform-beta-v0.4.10",
            "autogpt-platform-beta-v0.4.9",
            "autogpt-platform-beta-v0.4.8",
            "autogpt-platform-beta-v0.4.5",
            "autogpt-platform-beta-v0.4.4",
            "autogpt-platform-beta-v0.4.3",
            "autogpt-platform-beta-v0.4.2",
            "autogpt-platform-beta-v0.4.1",
            "autogpt-platform-beta-v0.4.0",
            "autogpt-platform-beta-v0.3.4",
            "autogpt-platform-beta-v0.3.3",
            "autogpt-platform-beta-v0.3.2",
            "autogpt-platform-beta-v0.2.2",
            "agpt-platform-beta-v0.2.0",
            "agpt-platform-beta-v0.1.1",
            "agpt-platform-beta-v0.1.0",
            "agbenchmark-v0.0.10",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26020.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:22.986064998Z",
      "provider": "osv",
      "references": [
        "https://github.com/Significant-Gravitas/AutoGPT/releases/tag/autogpt-platform-beta-v0.6.48",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26020.json",
        "https://github.com/Significant-Gravitas/AutoGPT/security/advisories/GHSA-4crw-9p35-9x54",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-26020",
        "https://github.com/Significant-Gravitas/AutoGPT/commit/062fe1aa709217136b896c8b950e0f04435afb32"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-285"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26020.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-26020",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489109,
  "published_at": "2026-02-12T20:52:15.072+00:00"
}