CVE-2026-41242
CRITICAL 9.4CVSS 4.0protobufjs has an arbitrary code execution issue
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, 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, 7.5.5, and 6.11.6 patch the issue.
- Published
- 18 Apr 2026
- Last modified
- 4 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-xq3m-2v4x-88gg
- Sources
- NVDJSONOSV GHSA-xq3m-2v4x-88ggJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 9.4 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
< 7.5.5 | 7.5.5 |
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:8.0.0:*:*:*:*:node.js:*:* |
= 8.0.0 | |
| OSV | npm | protobufjs | >= 8.0.0, < 8.0.1 | 8.0.1 |
| OSV | npm | protobufjs | >= 7.0.0, < 7.5.5 | 7.5.5 |
| OSV | npm | protobufjs | < 6.11.6 | 6.11.6 |
References
- https://access.redhat.com/errata/RHSA-2026:21338 · WEB
- https://access.redhat.com/errata/RHSA-2026:24977 · WEB
- https://access.redhat.com/errata/RHSA-2026:26234 · WEB
- https://access.redhat.com/errata/RHSA-2026:37275 · WEB
- https://access.redhat.com/errata/RHSA-2026:62260 · WEB
- https://access.redhat.com/security/cve/CVE-2026-41242 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2459442 · WEB
- https://github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf · WEB
- https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75 · Patch, WEB
- https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956 · Patch, WEB
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5 · Product, Release Notes, WEB
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1 · Product, Release Notes, WEB
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg · Exploit, Vendor Advisory, WEB
- https://github.com/protobufjs/protobuf.js/tree/v6.11.6 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41242 · ADVISORY
- https://github.com/protobufjs/protobuf.js · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 18 Apr 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Apr 2026)