p PatchFirst

CVE-2026-44291

CVE-2026-44291 · protobufjs: Code generation gadget after prototype pollution

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.1 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • protobuf.js

    Versions
    • < 7.5.6: Affected
    • >= 8.0.0, < 8.0.2: Affected

    No fix published

  • protobufjs npm

    Affected ranges
    • SEMVER: < 7.5.6

    Update to 7.5.6

  • protobufjs npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.0.2

    Update to 8.0.2

Original sources

Check your server →