Submit #860128: Node.js @umijs/utils 4.6.63 OS Command Injectioninfo

TitleNode.js @umijs/utils 4.6.63 OS Command Injection
Description@umijs/utils exposes git helper functions through the package's top-level export: const { git } = require("@umijs/utils"); The exported git.getFileCreateInfo() and git.getFileLastModifyInfo() functions pass a user-controlled filePath argument to cross-spawn while setting shell: true. With shell: true, Node/cross-spawn concatenates arguments into a shell command, so shell metacharacters in filePath are interpreted by the shell. This allows command injection when these helpers are called with an untrusted or attacker-controlled file path.
Source⚠️ https://github.com/umijs/umi/issues/13345
User
 wjm2 (UID 99050)
Submission06/16/2026 16:33 (1 month ago)
Moderation07/21/2026 18:05 (1 month later)
StatusAccepted
VulDB entry380948 [umijs umi up to 4.6.63 GIT File Helper getFileGitIno.ts git.getFileCreateInfo os command injection]
Points20

Interested in the pricing of exploits?

See the underground prices here!