Skip to main content
← All vulnerabilities
CVE-2026-44291GHSA-75PX-5XX7-5XC7

protobufjs: Code generation gadget after prototype pollution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.6, 8.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    fixed in 7.5.6; From 8.0.0 · fixed in 8.0.2

  • protobufjsnpm

    fixed in 7.5.6

  • protobufjsnpm

    From 8.0.0 · fixed in 8.0.2

References 1

GitHub · protobufjs/protobuf.js