{"id":"GHSA-fx83-v9x8-x52w","revision":"ec44126931864376b3ab4a943e2e448f","records":[{"revision":"ec44126931864376b3ab4a943e2e448f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-fx83-v9x8-x52w","aliases":["CVE-2026-44292"],"title":"protobuf.js: Prototype injection in generated message constructors","description":"## Summary\n\nprotobufjs 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.\n\n## Impact\n\nAn attacker who can control the properties object passed to a generated protobufjs message constructor or creation helper may be able to modify the prototype chain of the resulting message instance.\n\nThis is a per-instance prototype injection issue. It does not pollute `Object.prototype` or other global prototypes. The impact depends on downstream application behavior, such as relying on inherited properties, prototype methods, or `instanceof` checks for message objects.\n\nApplications that only decode binary protobuf data, or that construct messages from trusted application-defined objects, are not directly affected by this issue.\n\n## Preconditions\n\n- The application must allow an attacker to control or influence a plain object used to construct a protobufjs message.\n- The object must contain an own enumerable `__proto__` property, for example from parsed JSON input.\n- The application must pass that object to a generated message constructor or creation helper that copies arbitrary enumerable properties.\n\n## Workarounds\n\nDo not pass attacker-controlled plain objects directly to generated message constructors with affected versions. If untrusted JSON input must be accepted, validate or sanitize object keys before constructing messages, and reject `__proto__` properties.","state":0,"publishedAt":"2026-05-12T15:01:44+00:00","modifiedAt":"2026-09-10T03:50:46.9066697+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:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-fx83-v9x8-x52w","https://nvd.nist.gov/vuln/detail/CVE-2026-44292","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-fx83-v9x8-x52w","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-fx83-v9x8-x52w","identifiers":["GHSA-fx83-v9x8-x52w","CVE-2026-44292"]},"retained":false,"historicalAffected":[]}],"coverage":[]}