Code Injection in protobufjs-cli - CVE-2026-44295

 

Code Injection in protobufjs-cli - CVE-2026-44295

Published: May 12, 2026


Vulnerability identifier: #VU131161
CSH Severity: Medium
CVSS v4: 8.4 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-44295
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper control of code generation in pbjs static code generation output when processing a crafted schema or JSON descriptor. A remote user can provide crafted schema names to inject attacker-controlled code into generated JavaScript output to execute arbitrary code.

User interaction is required because the generated JavaScript file must later be executed, imported, or otherwise evaluated.


Affected software

protobufjs-cli

How to mitigate CVE-2026-44295

Install security update from vendor's website.

protobufjs-cli - addressed in versions 1.2.1, 2.0.2

External References

Related Security Bulletins