PT-2026-40539 · Npm · Protobufjs

·

CVE-2026-44293

·

Published

2026-05-12

·

Updated

2026-08-31

CVSS v2.0

9.0

High

VectorAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions protobufjs versions prior to 7.5.6 protobufjs versions prior to 8.0.2
Description JavaScript generated for toObject conversion may include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor containing a non-string default value for a bytes field can lead to the emission of attacker-controlled code into the generated conversion function. This allows an attacker who can influence a protobuf descriptor to execute arbitrary JavaScript within the process context, provided the application loads an untrusted schema and converts a message of the affected type with defaults enabled.
Recommendations Update to version 7.5.6. Update to version 8.0.2. Avoid loading protobuf schemas or JSON descriptors from untrusted sources. Validate or restrict field options before loading untrusted schemas and execute schema processing in an isolated environment.

Exploit

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-09109
CVE-2026-44293
GHSA-66FF-XGX4-VCHM
RHSA-2026:34160
RHSA-2026:37385

Affected Products

Protobufjs