CVE 8.1 HIGH

protobufjs: Code generation gadget after prototype pollution_CVE-2026-44291

8.1 / 10
HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs used plain objects with inherited prototypes for internal type lookup tables used by generated encode and decode functions. If Object.prototype had already been polluted, those lookup tables could resolve attacker-controlled inherited properties as valid protobuf type information. This could cause attacker-controlled strings to be emitted into generated JavaScript code. This vulnerability is fixed in 7.5.6 and 8.0.2.

Basic Information

ID CVE-2026-44291
Source GitHub_M
Published May 13, 2026 at 14:42

Affected Product

Vendor protobufjs
Product protobuf.js
Version < 7.5.6
Affected Versions protobufjs protobuf.js < 7.5.6
protobufjs protobuf.js >= 8.0.0, < 8.0.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.