5.3Medium

CVE-2026-44292protobufjs: Prototype injection in generated message constructors

protobufjs protobuf.js Published: (6 months ago)

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated message constructors copied enumerable properties from a provided properties object without filtering the __proto__ key. If an application constructed a message from an attacker-controlled plain object, an own enumerable __proto__ property could alter the prototype of that individual message instance. This vulnerability is fixed in 7.5.6 and 8.0.2.

Weakness (CWE): CWE-1321

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
protobufjs protobuf.js < 7.5.6, >= 8.0.0, < 8.0.2
protobufjs project protobufjs < 7.5.6

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* < 7.5.6
  • cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* ≥ 8.0.0 < 8.0.2