Description
A weakness has been identified in umijs umi up to 4.6.63. The affected element is the function git.getFileCreateInfo of the file packages/utils/src/getFileGitIno.ts of the component GIT File Helper. This manipulation causes os command injection. The exploit has been made available to the public and could be used for attacks. Upgrading to version 4.6.64 is sufficient to fix this issue. Patch name: b6da12c17b024a43badb1fa565720c38cf42e647. Upgrading the affected component is advised.
Published: 2026-07-22
Score: 5.1 Medium
EPSS: 1.7% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises in the GIT File Helper of umijs:umi, specifically the getFileCreateInfo function defined in packages/utils/src/getFileGitIno.ts. The function fails to properly validate or sanitize its inputs before passing them to the operating system for execution, allowing an attacker to inject arbitrary OS commands. Because the commands run in the context of the application, successful exploitation would let an attacker execute arbitrary code, potentially leading to full compromise of the host system, impacting confidentiality, integrity, and availability.

Affected Systems

This flaw affects all versions of umijs:umi up to and including 4.6.63. The vulnerable code is part of the default distribution supplied by the umijs CNA. The fix is included in release 4.6.64; therefore any installation running a version older than 4.6.64 is vulnerable.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity, and the EPSS score of 2% suggests a low probability of exploitation in the wild. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that the attack vector involves an external or user‑supplied value that is fed to git.getFileCreateInfo; an attacker who can influence that input—such as through a compromised developer workflow or by gaining privileged access to the application environment—could trigger the injection. No publicly available exploit code beyond a proof‑of‑concept exists at this time.

Generated by OpenCVE AI on August 4, 2026 at 00:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade umijs:umi to version 4.6.64 or later to apply the committed patch.
  • If immediate upgrade is not possible, limit the privileges of the process that calls git.getFileCreateInfo, ensuring it runs with only the necessary permissions or in a sandboxed environment to prevent arbitrary command execution.
  • Sanitize and validate any data that is passed to git.getFileCreateInfo, rejecting or escaping characters that could be interpreted as command separators or injections.

Generated by OpenCVE AI on August 4, 2026 at 00:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Jul 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 22 Jul 2026 01:00:00 +0000

Type Values Removed Values Added
Description A weakness has been identified in umijs umi up to 4.6.63. The affected element is the function git.getFileCreateInfo of the file packages/utils/src/getFileGitIno.ts of the component GIT File Helper. This manipulation causes os command injection. The exploit has been made available to the public and could be used for attacks. Upgrading to version 4.6.64 is sufficient to fix this issue. Patch name: b6da12c17b024a43badb1fa565720c38cf42e647. Upgrading the affected component is advised.
Title umijs umi GIT File Helper getFileGitIno.ts git.getFileCreateInfo os command injection
First Time appeared Umijs
Umijs umi
Weaknesses CWE-77
CWE-78
CPEs cpe:2.3:a:umijs:umi:*:*:*:*:*:*:*:*
Vendors & Products Umijs
Umijs umi
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

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

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-22T13:02:16.404Z

Reserved: 2026-07-21T16:04:58.786Z

Link: CVE-2026-16492

cve-icon Vulnrichment

Updated: 2026-07-22T13:02:09.815Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T00:15:04Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')