Code Injection in protobuf.js - CVE-2026-44293

 

Code Injection in protobuf.js - CVE-2026-44293

Published: May 12, 2026


Vulnerability identifier: #VU131160
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-44293
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: protobuf.js
Affected software:
protobuf.js

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to improper control of code generation in generated toObject code when processing an attacker-controlled protobuf descriptor with a non-string default value for a bytes field and converting a message with defaults enabled. A remote user can provide a crafted descriptor to execute arbitrary code.

Exploitation requires the application to load an attacker-controlled schema or descriptor and call toObject with defaults enabled for the affected type.


How to mitigate CVE-2026-44293

Install security update from vendor's website.

Sources