Skip to main content
← All vulnerabilities
CVE-2026-41242GHSA-XQ3M-2V4X-88GG

protobufjs has an arbitrary code execution issue

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.5, 8.0.1
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    fixed in 7.5.5; From 8.0.0-experimental · fixed in 8.0.1

  • protobufjsnpm

    From 8.0.0 · fixed in 8.0.1

  • protobufjsnpm

    fixed in 7.5.5

References 7

GitHub · protobufjs/protobuf.js

GitHub · 4chech/CVE-2026-41242

GitHub · Giangdurian/CVE-2026-41242