Code Injection in protobuf.js - CVE-2026-44291
Published: May 12, 2026
protobuf.js
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary JavaScript code.
The vulnerability exists due to improper control of code generation in generated encode and decode functions when processing internal type lookup tables after Object.prototype has been polluted. A remote attacker can influence inherited properties used as protobuf type information to execute arbitrary JavaScript code.
Exploitation requires a separate prototype pollution primitive to pollute Object.prototype before the affected code generation path is reached.