Description
AgentFlow contains an arbitrary code execution vulnerability that allows attackers to execute local Python pipeline files by supplying a user-controlled pipeline_path parameter to the POST /api/runs and POST /api/runs/validate endpoints. Attackers can induce requests to the local AgentFlow API to load and execute existing Python pipeline files on disk, resulting in code execution in the context of the user running AgentFlow.
Problem types
CWE-94: Improper Control of Generation of Code ('Code Injection')
Product status
Any version before 1667fa3
Credits
Chia Min Jun Lennon
References
github.com/berabuddies/agentflow/pull/18
github.com/...anges/7e61b6ce846b3d700456e4874394dc868905a9f2
www.vulncheck.com/...on-pipeline-execution-via-pipeline-path