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
- github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75
- github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956
- github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5
Related
- Protobufjs vulnerabilities Recent advisories, watch this product