| tiêu đề | Node.js oclif 4.23.16 OS Command Injection |
|---|
| Mô tả | oclif manifest reads oclif.jitPlugins from a target project's package.json. When JIT plugins are enabled, each plugin name and version is interpolated into an npm pack shell command:
npm pack ${plugin}@${version} --pack-destination "${tarballStoragePath}" --json
That command string is then executed with child_process.exec().
Because the jitPlugins key and value are not shell-escaped or validated before interpolation, shell metacharacters in a plugin name can execute arbitrary commands when oclif manifest is run against a crafted project.
This is reachable through the public CLI:
oclif manifest /path/to/project |
|---|
| Nguồn | ⚠️ https://github.com/oclif/oclif/issues/2051 |
|---|
| Người dùng | wjm2 (UID 99050) |
|---|
| Đệ trình | 16/06/2026 17:19 (cách đây 1 tháng) |
|---|
| Kiểm duyệt | 22/07/2026 17:53 (1 month later) |
|---|
| Trạng thái | được chấp nhận |
|---|
| Mục VulDB | 382372 [oclif đến 4.23.16 JIT Plugin Entry child_process.exec jitPlugins nâng cao đặc quyền] |
|---|
| điểm | 20 |
|---|