promptflow-tools is vulnerable to Remote Code Execution (RCE)
75
High Risk
Affected versions of this package are vulnerable to remote code execution (RCE) and prompt injection via chat history manipulation due to unsafe use of eval() and improper input sanitization. An attacker could exploit this by crafting a malicious tool call to execute arbitrary Python code through eval or injecting fake chat history entries to manipulate AI behavior. The fix replaces eval with ast.literal_eval and validates chat history entries to prevent unauthorized modifications.
You are affected if you are using a version that falls within the vulnerable range.
promptflow-tools is vulnerable to Remote Code Execution (RCE) in versions 1.0.0 - 1.6.0.
Upgrade the promptflow-tools library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant