CVE-2025-4032: Aworld AWorld OS Command Injection Vulnerability Vulnerability

LOW
Advisory Identifier: GHSA-jmjf-mfhm-j3gf
CVSS 5.0
CWE-78 CWE-77
Published
Advisory Summary

CVE-2025-4032 is a LOW (CVSS 5.0) aworld os command injection vulnerability vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')) affecting Aworld libraries in the PyPI ecosystem. The issue involves aworld os command injection vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2025-4032 at a Glance

CVE Identifier CVE-2025-4032
GHSA Identifier GHSA-jmjf-mfhm-j3gf
Severity LOW
CVSS v3.1 Base Score 5.0
CWE Classification CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Affected Product Aworld
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 5.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability Low (A:L)

How to Fix CVE-2025-4032

To remediate this vulnerability, upgrade all affected Aworld dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

aworld fixed: Latest secure release
pip install aworld>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show aworld

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-4032, inspect your installed packages using pip:

pip show aworld

Analyze the terminal output to locate any version of Aworld in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show aworld command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'), where the product constructs all or part of an os command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended os command when it is sent to a downstream component. In Aworld, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

A vulnerability was found in inclusionAI AWorld up to 8c257626e648d98d793dd9a1a950c2af4dd84c4e. It has been rated as critical. This issue affects the function subprocess.run/subprocess.Popen of the file AWorld/aworld/virtual_environments/terminals/shell_tool.py. The manipulation leads to os command injection. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable.

CVE-2025-4032 Affected Aworld Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
aworld
PyPI
≤ 0.2.1

References

Frequently Asked Questions

What is CVE-2025-4032?
CVE-2025-4032 is a security vulnerability in Aworld involving AWorld OS Command Injection vulnerability under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection').
Which Aworld versions are affected?
Affected versions include releases prior to current release patches across affected packages: aworld.
What version fixes CVE-2025-4032?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is aworld affected?
Yes, aworld is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-4032?
CVE-2025-4032 has a CVSS v3.1 base score of 5.0 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.
What CWE is associated with CVE-2025-4032?
CVE-2025-4032 is classified under CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.).
How can I check PyPI dependencies for CVE-2025-4032?
Run the dependency tree command: 'pip show aworld'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jmjf-mfhm-j3gf",
  "modified" : "2025-05-12T12:48:41Z",
  "published" : "2025-04-28T21:30:43Z",
  "aliases" : [ "CVE-2025-4032" ],
  "summary" : "AWorld OS Command Injection vulnerability",
  "details" : "A vulnerability was found in inclusionAI AWorld up to 8c257626e648d98d793dd9a1a950c2af4dd84c4e. It has been rated as critical. This issue affects the function subprocess.run/subprocess.Popen of the file AWorld/aworld/virtual_environments/terminals/shell_tool.py. The manipulation leads to os command injection. The attack may be initiated remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "aworld"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.2.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-4032"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/inclusionAI/AWorld/issues/38"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/inclusionAI/AWorld/issues/38#issue-2996574433"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/inclusionAI/AWorld/issues/38#issuecomment-2806190923"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/inclusionAI/AWorld"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?ctiid.306395"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?id.306395"
  }, {
    "type" : "WEB",
    "url" : "https://vuldb.com/?submit.559222"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77", "CWE-78" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-29T15:08:09Z",
    "nvd_published_at" : "2025-04-28T19:15:47Z"
  }
}