Protobufjs protobuf.js
protobufjs-cli: OS Command Injection
protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbts invoked JSDoc by building a shell command string from input file paths and executing it through child_process.exec. File paths containing shell metacharacters could therefore be interpreted by the shell instead of being passed to JSDoc as plain arguments. This vulnerability is fixed in 1.2.1 and 2.0.2.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.0.0, < 2.0.2
- < 1.2.1
Fixed in 2.0.2, 1.2.1
Mitigation
Upgrade protobuf.js to 2.0.2 or 1.2.1 or later.
References
- Vendor advisory github.com/protobufjs/protobuf.js/security/adv…
Timeline
Days relative to CVE publicationFirst public PoC 193 days after publication; not in CISA KEV. First PoC: 0x5t4l1n/CVE-2026-42290 (created 22 Nov 2026, found by us: 22 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| 0x5t4l1n/CVE-2026-42290 | 22 Nov 2026 +193 d | 22 Nov 2026 | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.