CVE-2026-138332

xlang-ai OpenAgents Data Agent python_evaluator.py run_program_local code injection

Published Nov 29, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability resides in the python_evaluator.py run_program_local function of the xlang‑ai OpenAgents Data Agent. The function executes user‑supplied code without adequate validation, enabling an attacker to inject malicious Python code. The impact is remote code execution on any host that runs the agent, compromising confidentiality, integrity, and availability. This flaw corresponds to CWE‑74 and CWE‑94 as it allows execution of arbitrary code.

Affected Systems

The affected product is xlang‑ai OpenAgents running any snapshot prior to the patch commit ff2e46440699af1324eb25655b622c4a131265bb. The project follows a rolling‑release model and no explicit version numbers are published; however, any code before the mentioned commit is vulnerable. The product is available from the official GitHub repository.

Risk and Exploitability

The CVSS base score of 6.9 indicates moderate severity. No EPSS data is available, but the vulnerability can be triggered remotely and is not listed in the CISA KEV catalog. While no public exploit is documented, an attacker could craft input that invokes run_program_local, likely through the agent’s API or local interface, to achieve arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the patch commit ff2e46440699af1324eb25655b622c4a131265bb to the OpenAgents repository or revert the code change that introduced the vulnerability.
  • Replace the run_program_local function with a sandboxed execution environment that validates input and restricts available modules.
  • Disable or restrict external input to the agent by ensuring only trusted calls (e.g., internal services) can invoke run_program_local, and implement strict authentication for any API endpoints that expose this functionality.
  • As a temporary workaround, remove or comment out the call to eval or exec within the code until the patch is applied.

Generated by OpenCVE AI on November 30, 2026 at 00:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title xlang-ai OpenAgents Data Agent python_evaluator.py run_program_local code injection
First Time appeared Xlang-ai
Xlang-ai openagents
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:xlang-ai:openagents:*:*:*:*:*:*:*:*
Vendors & Products Xlang-ai
Xlang-ai openagents
References
Metrics cvssV2_0

{'score': 7.5, 'vector': 'AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:OF/RC:C'}

cvssV3_0

{'score': 7.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C'}

cvssV4_0

{'score': 6.9, 'vector': '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'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 30, 2026, 8:16 PM
Reserved
Nov 29, 2026, 2:35 AM
Status
Deferred
Published
Nov 29, 2026, 11:17 PM
Modified
Nov 30, 2026, 9:17 PM