{"id":"CVE-2026-44291","published":"2026-05-13T14:42:13Z","modified":"2026-05-13T15:32:06Z","title":"protobufjs: Code generation gadget after prototype pollution","vendor":"protobufjs","product":"protobuf.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00478,"percentile":0.3362,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-75px-5xx7-5xc7","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.4,"factors":[{"name":"EPSS percentile","points":6.72},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":["< 7.5.6",">= 8.0.0, < 8.0.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-05-13T15:31:57.317244Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs","vulnerableRanges":["<7.5.6",">=8.0.0, <8.0.2"],"patched":["7.5.6","8.0.2"],"from":["GHSA-75px-5xx7-5xc7"],"provenance":"source"}],"summary":{"text":"The flaw is in protobuf.js, the protobufjs component that compiles protobuf definitions into JavaScript encode and decode functions, where internal type lookup tables are plain objects that inherit from their prototype. If Object.prototype has already been polluted, attacker-controlled inherited properties can be resolved as valid type information and emitted into the generated JavaScript code. An attacker who can pollute the prototype first, with no authentication or user interaction required and only a high-complexity precondition, could inject arbitrary code into the generated functions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:34:08Z"},"euvd":{"id":"EUVD-2026-30029","exploited":false,"provenance":"source"}}