CVE-2026-7466 Details
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.
A vulnerability allowing arbitrary code execution has been identified in AgentFlow. This issue arises from the application's handling of the pipeline_path parameter in POST requests to the /api/runs and /api/runs/validate endpoints. By supplying a crafted pipeline_path, attackers can execute local Python pipeline files, leading to code execution in the context of the user running AgentFlow.
Users can disable the vulnerable functionality by not enabling the AGENTFLOW_API_ALLOW_PIPELINE_PATH environment variable. The latest version of AgentFlow, which includes a patch for this vulnerability, can be downloaded from the AgentFlow GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 29, 2026CISA-ADP
Assessed Apr 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| berabuddies AgentFlow | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | New CVE Received | [email protected] |
Volerion