{"answers":{"affected":"3 open source packages ship an affected version, including agpt. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24780 exists.","fix":"No fix has been published for CVE-2026-24780 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-24780 is a high-severity code injection vulnerability in Significant-Gravitas AutoGPT, published on 29 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-24780 and fix it if it is affected.\n\nWhat it is: CVE-2026-24780 is a high-severity code injection vulnerability in Significant-Gravitas AutoGPT, published on 29 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-24780 exists.\n\nAffected packages and fixed versions:\n- agpt (PyPI): affected all versions up to 0.2.2; no fix listed\n- agpt (PyPI): affected all versions up to 0.2.2; no fix listed\n- agpt (PyPI): affected all versions up to 0.2.2; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-24780/ (Markdown: https://insights.sbomify.com/CVE-2026-24780/index.md)","id":"CVE-2026-24780","markdown":"https://insights.sbomify.com/CVE-2026-24780/index.md","name":"CVE-2026-24780","record":{"aliases":["GHSA-r277-3xc5-c79v","PYSEC-2026-1078"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"AutoGPT platform","requires_auth":"low_privilege","summary":"Authenticated users can execute disabled blocks to inject and run arbitrary Python code, leading to remote code execution on the server.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"autogpt_platform","vendor":"agpt"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"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/E:P","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"AutoGPT is a platform that allows users to create, deploy, and manage continuous artificial intelligence agents that automate complex workflows. Prior to autogpt-platform-beta-v0.6.44, 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. autogpt-platform-beta-v0.6.44 contains a fix.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"AutoGPT is Vulnerable to RCE via Disabled Block Execution","id":"CVE-2026-24780","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":3,"n_references":6,"next":{"headline":"vm2: Sandbox Breakout Through Inspect","id":"CVE-2026-24781"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.2.2"],"package":"agpt","purl":null,"source":"GHSA-r277-3xc5-c79v"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.2.2"],"package":"agpt","purl":"pkg:pypi/agpt","source":"GHSA-r277-3xc5-c79v"},{"ecosystem":"PyPI","fixed":[],"introduced":["0"],"last_affected":["0.2.2"],"package":"agpt","purl":"pkg:pypi/agpt","source":"PYSEC-2026-1078"}],"prev":{"headline":"vLLM vulnerable to Server-Side Request Forgery (SSRF) in `MediaConnector`","id":"CVE-2026-24779"},"products":["AutoGPT"],"published":"2026-01-29","related":[{"cvss_score":9.4,"headline":"AutoGPT Affected by Remote Code Execution via Dynamic Module Import in Block Loading (__import__)","id":"CVE-2026-26020","kev_date_added":null,"published":"2026-02-12"},{"cvss_score":9.3,"headline":"AutoGPT has SSRF vulnerability in ReadRSSFeedBlock","id":"CVE-2025-62615","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":9.3,"headline":"AutoGPT has SSRF vulnerability in SendDiscordFileBlock","id":"CVE-2025-62616","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":8.8,"headline":"Server-Side Template Injection (SSTI) in significant-gravitas/autogpt","id":"CVE-2025-1040","kev_date_added":null,"published":"2025-03-20"},{"cvss_score":8.7,"headline":"AutoGPT has a DoS vulnerability in ReadRSSFeedBlock","id":"CVE-2025-32393","kev_date_added":null,"published":"2026-02-05"},{"cvss_score":8.6,"headline":"AutoGPT allows leakage of cross-domain cookies and protected headers in requests redirect","id":"CVE-2025-31491","kev_date_added":null,"published":"2025-04-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-01-29","vendors":["Significant-Gravitas"]},"summary":"Authenticated users can execute disabled blocks to inject and run arbitrary Python code, leading to remote code execution on the server.","url":"https://insights.sbomify.com/CVE-2026-24780/"}