Arbitrary Code Injection Affecting protobufjs package, versions <7.5.6>=8.0.0-experimental <8.0.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-PROTOBUFJS-16643442
  • published14 May 2026
  • disclosed12 May 2026
  • creditVladimirEliTokarev

Introduced: 12 May 2026

NewCVE-2026-44295  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade protobufjs to version 7.5.6, 8.0.2 or higher.

Overview

protobufjs is a protocol buffer for JavaScript (& TypeScript).

Affected versions of this package are vulnerable to Arbitrary Code Injection via the pbjs static code generation. An attacker can execute arbitrary code by providing crafted schema names that are incorporated into generated JavaScript output, which is then executed or imported by the application or build process.

CVSS Base Scores

version 4.0
version 3.1