Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-exposed OpenAgents Data Agent
-
ExploitSubmit crafted input to code path
-
ExecutionInject Python via run_program_local
-
ImpactExecute arbitrary code in Flask process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the Data Agent's generated-Python execution be enabled: historically CODE_EXECUTION_MODE defaulted to 'local', which runs generated/injected Python via IPython directly inside the Flask process (with access to backend credentials, the full data volume and the network). The attacker must be able to supply input that reaches run_program_local in real_agents/data_agent/evaluation/python_evaluator.py. Limiting factors that reduce realistic risk: default deployments bind to localhost only, the platform is documented as a demo/development tool for trusted single-user use, and PR #167 states neither local nor the legacy docker interpreter mode is a supported security boundary for hostile or multi-tenant users - so remote reach requires the operator to deliberately network-expose the instance. The post-fix default of 'disabled' means patched deployments do not execute generated Python at all unless explicitly and knowingly re-enabled. The precise manipulation that converts agent input into injected code is not detailed in the available sources. |
| Impact | Signals conflict and must be weighed carefully. The supplied CVSS 4.0 base is 5.5 (Medium) with only partial vulnerable-system impacts (VC:L/VI:L/VA:L), reflecting VulDB's conservative scoring, yet the root cause is CWE-94 code injection in run_program_local - i.e. arbitrary code execution, which when reachable by an untrusted user is far more severe than 'Medium' suggests (I independently assess C/I/A:H). Exploit maturity is E:P (proof-of-concept), there is no CISA KEV listing and no EPSS score was provided, and the vuln.today decision label is 'this_month' - a moderate, scheduled-remediation priority rather than act_now/emergency. The key tension is the attack vector: CVSS marks AV:N/PR:N/UI:N (remote, unauthenticated), but the OpenAgents README and fix PR establish that default deployments bind to localhost and the platform is intended for trusted single-user development, so true remote-unauthenticated reach depends on the operator deliberately exposing the instance to a network and enabling generated-Python execution. Net: a genuine code-execution flaw, but real-world risk is gated by exposure and configuration rather than being broadly wormable - verify whether any given instance is network-exposed with Python execution enabled before treating it as high priority. |
| Exploit ScenarioDerived | An attacker who can reach a network-exposed OpenAgents instance that has generated-Python execution enabled submits crafted input to the Data Agent so that code flows into run_program_local and is executed as Python inside the Flask process, running with backend credentials and access to the data volume and network. A public PoC reference exists (GitHub issue #164 / exploit maturity E:P) but is not verified as working exploit code. Default deployments bind to localhost and the platform is intended for trusted single-user use, which limits realistic remote reach. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 29, 2026
Code injection in xlang-ai OpenAgents' Data Agent allows remote attackers who can reach an instance with generated-Python execution enabled to execute injected Python through run_program_local in real_agents/data_agent/evaluation/python_evaluator.py. The affected code is a rolling release tracked only by commit, with the cited vulnerable state at ff2e46440699af1324eb25655b622c4a131265bb and no versioned affected or fixed releases. No public exploit code or CISA KEV entry is identified; exploitation realistically depends on an operator enabling Python execution and exposing the demo/development platform beyond localhost, and the upstream fix is an unmerged pull request that changes the default to disabled.
RemediationAI
Apply the upstream fix tracked by commit ff2e46440699af1324eb25655b622c4a131265bb and pull request 167 after confirming it has been merged into the deployed revision; this is an upstream PR/commit fix, and a released patched version is not independently confirmed. The fix makes CODE_EXECUTION_MODE=disabled the default, so deployments that have not patched should set CODE_EXECUTION_MODE=disabled and restart the backend to prevent generated Python from executing; this also disables PythonCodeBuilder analysis and Python-generated Echarts/plots, while SQL execution, file parsing/uploads, plugin tools, and web actions retain their existing behavior and need separate review. Do not enable CODE_EXECUTION_MODE=local for untrusted users or multi-tenant use: local mode requires ALLOW_UNSAFE_LOCAL_CODE_EXECUTION=true and runs IPython inside the Flask process with backend credentials, data-volume and network access. Keep the service bound to localhost or otherwise restrict access to trusted users; the legacy Docker interpreter mode is not a verified sandbox for hostile or multi-tenant users. See GitHub issue 164 (https://github.com/xlang-ai/OpenAgents/issues/164), PR 167 (https://github.com/xlang-ai/OpenAgents/pull/167), the backend README execution trust-boundary guidance, and VulDB 445145 (https://vuldb.com/vuln/445145).
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The issue is CWE-94 code injection in OpenAgents' Data Agent. The affected function run_program_local is part of the Python evaluator; in the historical local execution mode, generated Python is run by IPython inside the Flask process, so injected code inherits the backend process's access to credentials, the data volume, and the network. The vulnerability is specific to deployments where the Data Agent's generated-Python execution has been enabled and where attacker-controlled input can reach run_program_local; the precise manipulation that turns agent input into injected code is not described in the available sources. CPE cpe:2.3:a:xlang-ai:openagents:*:*:*:*:*:*:*:* reflects a rolling-release product with no version boundaries, and PR #167 documents that neither local mode nor the legacy Docker interpreter is a supported security boundary for hostile or multi-tenant use; the fixed behavior returns an error without executing generated Python by default.
Know when Openagents gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Code injection yields arbitrary Python execution in the Flask process with host, credential and data access (C/I/A:H); the agent is network-reachable with no confirmed authentication, giving AV:N/PR:N.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in xlang-ai OpenAgents up to ff2e46440699af1324eb25655b622c4a131265bb. The impacted element is the function run_program_local of the file real_agents/data_agent/evaluation/python_evaluator.py of the component Data Agent. Executing a manipulation can lead to code injection. The attack may be launched remotely. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. This patch is called ff2e46440699af1324eb25655b622c4a131265bb. Applying a patch is advised to resolve this issue. The pull request to fix this issue awaits acceptance.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
More in Openagents
View allServer-side request forgery in openagents up to 0.8.19 and 0.9.3.post20 allows unauthenticated remote attackers to manip
Unauthenticated information disclosure in OpenAgents Workspace (through launcher-v1.0.17) enables remote attackers to li
Path traversal vulnerability in xlang-ai OpenAgents up to commit ff2e464 allows attackers to read or write arbitrary fil
EUVD-2026-137870
GHSA-m9jw-64p7-34cg
NVD
CVE.org
EPSS
VulDB
Exploit-DB