p PatchFirst

CVE-2026-41242

CVE-2026-41242 · protobufjs has an arbitrary code execution issue

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

protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1 and 7.5.5, attackers can inject arbitrary code in the "type" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1 and 7.5.5 patch the issue.

CVSS 9.4 · Critical · EPSS 0.8% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • protobuf.js

    Versions
    • < 7.5.5: Affected
    • >= 8.0.0-experimental, < 8.0.1: Affected

    No fix published

  • protobufjs npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.0.1

    Update to 8.0.1

  • protobufjs npm

    Affected ranges
    • SEMVER: < 7.5.5

    Update to 7.5.5

Original sources

Check your server →