Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Localhost API reachable via CSRF-style browser requests gives AV:N/UI:R; needing an existing malicious .py on disk plus an induced request makes AC:H; the local API requires no auth so PR:N; code execution yields full C/I/A.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
7DescriptionCVE.org
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.
AnalysisAI
Arbitrary code execution in berabuddies AgentFlow (all versions prior to fix commit 1667fa3) allows attackers to run local Python pipeline files by supplying a user-controlled pipeline_path parameter to the POST /api/runs and POST /api/runs/validate endpoints of the local web API. Because 'agentflow serve' binds its control plane to 127.0.0.1, an attacker who can induce requests to that local API - for example via a victim's browser - can make it load and execute an existing .py pipeline on disk, gaining code execution as the user running AgentFlow. No public exploit is identified at time of analysis and EPSS is very low (0.04%), but SSVC rates the technical impact as total.
Technical ContextAI
AgentFlow is a Python-based agent/pipeline orchestration tool that exposes a local web UI and REST API (agentflow serve) for running and validating pipeline definitions. The flaw is a CWE-94 improper control of code generation (code injection) issue: the /api/runs and /api/runs/validate endpoints accepted a pipeline_path payload field pointing to a filesystem path, and AgentFlow then loaded and executed that Python pipeline file. Executing a .py pipeline is by design equivalent to running arbitrary Python, so any request that controls pipeline_path controls what code runs. The single affected CPE, cpe:2.3:a:berabuddies:agentflow:*:*:*:*:*:*:*:*, confirms a single-vendor, single-product scope. The fix (PR #18) disables pipeline_path on the browser-facing API by default, enforces an application/json content type, and gates path loading behind the explicit AGENTFLOW_API_ALLOW_PIPELINE_PATH environment variable.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the changes from https://github.com/berabuddies/agentflow/pull/18 (fixed at commit 1667fa3), which disable pipeline_path on the /api/runs and /api/runs/validate endpoints by default, require an application/json content type (returning 415 otherwise), and only permit filesystem path loading when the operator explicitly sets AGENTFLOW_API_ALLOW_PIPELINE_PATH=1. Until you can update, keep AGENTFLOW_API_ALLOW_PIPELINE_PATH unset/disabled, ensure agentflow serve continues to bind only to 127.0.0.1 (do not expose it on 0.0.0.0 or behind a reverse proxy), and restrict which local users and browser origins can reach the API since a browser-driven request can trigger it; the trade-off of leaving the opt-in disabled is that legitimate filesystem-path pipeline loading via the web API stops working and must be done through the CLI or inline JSON pipeline specs instead. Confirm details against the VulnCheck advisory and the VulDB entry (https://vuldb.com/vuln/360199).
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-26279