{"id":"GHSA-75px-5xx7-5xc7","revision":"2140a32c24474170bcb1f131e4d1ff66","records":[{"revision":"2140a32c24474170bcb1f131e4d1ff66","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-75px-5xx7-5xc7","aliases":["CVE-2026-44291"],"title":"protobuf.js: Code generation gadget after prototype pollution","description":"## Summary\n\nprotobufjs 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.\n\nThis could cause attacker-controlled strings to be emitted into generated JavaScript code.\n\n## Impact\n\nAn attacker who can first trigger a prototype pollution vulnerability may be able to influence generated protobufjs encode or decode functions in a way that can lead to arbitrary JavaScript execution.\n\nThis issue requires a separate prototype pollution primitive before protobufjs is invoked.\n\nApplications without a reachable prototype pollution primitive are not directly exploitable through this issue alone.\n\n## Preconditions\n\n- The application or one of its dependencies must allow an attacker to pollute `Object.prototype`.\n- The polluted property must affect protobufjs internal type lookup behavior.\n- The application must use protobufjs functionality that generates encode or decode code for affected types.\n- The generated code path must be reached after the prototype pollution has occurred.\n\n## Workarounds\n\nAvoid running affected versions in applications where attacker-controlled input can pollute `Object.prototype`. If immediate upgrade is not possible, remove or mitigate reachable prototype pollution primitives and isolate schema/message processing from untrusted application state.","state":0,"publishedAt":"2026-05-12T15:01:24+00:00","modifiedAt":"2026-09-10T03:50:46.0534818+00:00","affected":[{"ecosystem":"npm","name":"protobufjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.5.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"protobufjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"8.0.0"},{"kind":"fixed","version":"8.0.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-75px-5xx7-5xc7","https://nvd.nist.gov/vuln/detail/CVE-2026-44291","https://github.com/protobufjs/protobuf.js","https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.6","https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.2"],"sourceUrl":"https://github.com/advisories/GHSA-75px-5xx7-5xc7","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-75px-5xx7-5xc7","identifiers":["GHSA-75px-5xx7-5xc7","CVE-2026-44291"]},"retained":false,"historicalAffected":[]}],"coverage":[]}