CVE-2026-16492
Deferred Deferred - Pending Action

Command Injection in Umi Framework

Vulnerability report for CVE-2026-16492, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-08-11
AI Q&A
2026-07-22
EPSS Evaluated
2026-08-10
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
umijs umi to 4.6.64 (exc)
umijs utils to 4.6.64 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-78 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.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a command injection flaw in the Umi.js framework up to version 4.6.63. It exists in the git.getFileCreateInfo function of the packages/utils/src/getFileGitIno.ts file. The issue allows attackers to execute arbitrary shell commands by manipulating file paths passed to git operations. The root cause is the use of shell: true in cross-spawn calls, which interprets user-controlled file paths as commands.

Detection Guidance

Check if your system uses umi versions up to 4.6.63 by running: npm list umi or yarn list umi. Inspect files in packages/utils/src/getFileGitIno.ts for shell: true usage in git helper functions. Look for unexpected file creation or command execution logs in system logs.

Impact Analysis

If you use affected versions of Umi.js (up to 4.6.63), an attacker could execute arbitrary commands on your system with the privileges of the Node.js process. This could lead to data theft, system compromise, or further network attacks. The vulnerability is particularly dangerous when processing untrusted file paths or git metadata from user-controlled sources.

Compliance Impact

This vulnerability could lead to unauthorized code execution, potentially violating data protection requirements under GDPR (Article 32 security of processing) and HIPAA (Security Rule integrity requirements). It may result in unauthorized access to personal data or protected health information, leading to compliance breaches and regulatory penalties.

Mitigation Strategies

Upgrade umi to version 4.6.64 or later using npm update umi or yarn upgrade umi. If upgrading is not possible, remove shell: true from git helper functions in getFileGitIno.ts and add -- before filePath arguments.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-16492. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart