CVE-2026-41242: Vulnerability in Protobufjs Project Protobufjs

Critical. protobufjs could execute generated JavaScript code derived from protobuf schema metadata. When loading a crafted JSON descriptor, schema-controlled type names and type references could reach runtime code generation without sufficient validation.

npm, CWE-94

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-xq3m-2v4x-88gg
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-94
Published
16 Apr 2026
Last change
4 Nov 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • Protobufjs Project Protobufjs Before 7.5.5; Version 8.0.0. Fixed in 7.5.5
  • Protobuf.js From 7.0.0, before 7.5.5; Before 6.11.6; From 8.0.0-experimental, before 8.0.1; Versions >= 7.0.0, < 7.5.5, >= 8.0.0-experimental, < 8.0.1, < 6.11.6. Fixed in 7.5.5, 8.0.1, 6.11.6

Affected packages

Vulnerable version ranges and fixed releases

  • protobufjs npm, Affected from 8.0.0 before 8.0.1. Fixed in 8.0.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related