OS Command Injection in protobufjs-cli - CVE-2026-42290

 

OS Command Injection in protobufjs-cli - CVE-2026-42290

Published: May 12, 2026


Vulnerability identifier: #VU131159
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-42290
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: protobuf.js
Affected software:
protobufjs-cli

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands.

The vulnerability exists due to command injection in the pbts CLI tool when processing attacker-influenced input file paths. A remote attacker can supply a crafted file path containing shell metacharacters to execute arbitrary shell commands.

User interaction is required because an application or user must invoke pbts on attacker-influenced paths.


How to mitigate CVE-2026-42290

Install security update from vendor's website.

Sources