CVE-2026-44293 HIGH

CVE-2026-44293: protobufjs: Code injection through bytes field defaults in generated toObject code

Vendor Protobufjs
Product protobuf.js
Weakness CWE-94 · Code injection
Published May 13, 2026
Last update June 30, 2026

CVSS base score

7.7/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

01Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.

Key dates

02Disclosure timeline

May 13, 2026 CVE published
June 30, 2026 Record updated

Related vulnerabilities

04Related CVE