Home

Description

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.

PUBLISHED Reserved 2026-05-05 | Published 2026-05-13 | Updated 2026-05-13 | Assigner GitHub_M




HIGH: 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

< 7.5.6
affected

>= 8.0.0, < 8.0.2
affected

References

github.com/...buf.js/security/advisories/GHSA-75px-5xx7-5xc7

cve.org (CVE-2026-44291)

nvd.nist.gov (CVE-2026-44291)

Download JSON