{"id":"CVE-2026-44292","aliases":["CVE-2026-44292","GHSA-fx83-v9x8-x52w"],"related":[],"kind":"vulnerability","state":"published","title":"protobufjs: Prototype injection in generated message constructors","summary":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs 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. This vulnerability is fixed in 7.5.6 and 8.0.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs 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. This vulnerability is fixed in 7.5.6 and 8.0.2.","source":"cvelist"},{"lang":"en","text":"## 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"protobufjs compila definiciones de protobuf en funciones de JavaScript (JS). Antes de 7.5.6 y 8.0.2, protobufjs generaba constructores de mensajes que copiaban propiedades enumerables de un objeto de propiedades proporcionado sin filtrar la clave __proto__. Si una aplicación construía un mensaje a partir de un objeto plano controlado por un atacante, una propiedad __proto__ enumerable propia podría alterar el prototipo de esa instancia de mensaje individual. Esta vulnerabilidad está corregida en 7.5.6 y 8.0.2.","source":"nvd"}],"published":"2026-05-12T15:01:44.000Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"version":"< 7.5.6","status":"affected"},{"version":">= 8.0.0, < 8.0.2","status":"affected"}],"vendor":"protobufjs","product":"protobuf.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.5.6"}],"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"8.0.2"}],"ecosystem":"npm","package":"protobufjs","purl":"pkg:npm/protobufjs","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"7.5.6"},{"status":"affected","introduced":"8.0.0","fixed":"8.0.2"}],"vendor":"protobufjs_project","product":"protobufjs","cpe":"cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-fx83-v9x8-x52w","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44292","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.6","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.2","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-05-18T13:59:48.572Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44292","url":"https://www.cve.org/CVERecord?id=CVE-2026-44292","licence":"CVE Terms of Use","modified":"2026-05-18T14:01:31.297Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fx83-v9x8-x52w","url":"https://github.com/advisories/GHSA-fx83-v9x8-x52w","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:46.906Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44292","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44292","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:21.592Z","epss":{"score":0.00264,"percentile":0.19538,"date":"2026-12-01T12:00:22.000Z"}}