Intel

AIKIDO-2025-10505

autogen is vulnerable to Remote Code Execution (RCE)

Remote Code Execution (RCE) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jul 28, 2025

80

High Risk

This Affects:

Pythonautogen
0.3.2 - 0.9.6
Fixed in 0.9.7
Are you affected? Scan for Free

TL;DR

Affected versions of this package contain an arbitrary code execution vulnerability in the _object_to_tool_call function due to unsafe use of eval(). The function attempts to convert string items in a list to dictionaries via eval(item) without sanitization, allowing attackers to craft malicious strings that execute arbitrary Python code when processed. For example, an attacker could submit a payload like __import__('os').system('rm -rf /') as a item, enabling remote command execution, data deletion, or system compromise if the input originates from untrusted sources.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

autogen is vulnerable to Remote Code Execution (RCE) in versions 0.3.2 - 0.9.6.

How to fix this

Upgrade the autogen library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform