Intel

AIKIDO-2025-10369

promptflow-evals is vulnerable to Remote Code Execution (RCE)

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

75

High Risk

This Affects:

PYTHONpromptflow-evals
0.3.0 - 0.3.4
Fixed in 0.3.5
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to Remote Code Execution (RCE). This patch addresses two security issues: it replaces all uses of eval with ast.literal_eval to prevent arbitrary code execution during tool call parsing, and it fixes a vulnerability where crafted messages could inject unauthorized roles into the chat history.

Who does this affect?

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

Background info

promptflow-evals is vulnerable to Remote Code Execution (RCE) in versions 0.3.0 - 0.3.4.

How to fix this

Upgrade the promptflow-evals library to the patch version.