CVE-2026-41242 | protobufjs protobuf.js up to 7.5.4/8.0.0 Type code injection (GHSA-xq3m-2v4x-88gg / EUVD-2026-23678)
VulDBArchived Apr 19, 2026✓ Full text saved
A vulnerability has been found in protobufjs protobuf.js up to 7.5.4/8.0.0 and classified as critical . This vulnerability affects unknown code. This manipulation of the argument Type causes code injection. This vulnerability is tracked as CVE-2026-41242 . The attack is possible to be carried out remotely. No exploit exists. The affected component should be upgraded.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358208 · CVE-2026-41242 · GHSA-XQ3M-2V4X-88GG
PROTOBUFJS PROTOBUF.JS UP TO 7.5.4/8.0.0 TYPE CODE INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
6.0 $0-$5k 10.00
Summaryinfo
A vulnerability was found in protobufjs protobuf.js up to 7.5.4/8.0.0 and classified as critical. This issue affects some unknown processing. Such manipulation of the argument Type leads to code injection. This vulnerability is listed as CVE-2026-41242. The attack may be performed from remote. There is no available exploit. It is suggested to upgrade the affected component.
Detailsinfo
A vulnerability was found in protobufjs protobuf.js up to 7.5.4/8.0.0. It has been rated as critical. Affected by this issue is an unknown code. The manipulation of the argument type with an unknown input leads to a code injection vulnerability. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. CVE summarizes:
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.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-41242 since 04/18/2026. The exploitation is known to be easy. The attack may be launched remotely. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.
Upgrading to version 7.5.5 or 8.0.1 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 535df444ac060243722ac5d672db205e5c531d75 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2026-23678).
Productinfo
Type
JavaScript Library
Vendor
protobufjs
Name
protobuf.js
Version
7.5.0
7.5.1
7.5.2
7.5.3
7.5.4
8.0
License
open-source
Website
Product: https://github.com/protobufjs/protobuf.js/
CPE 2.3info
🔒
🔒
🔒
CPE 2.2info
🔒
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 6.0
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: protobuf.js 7.5.5/8.0.1
Patch: 535df444ac060243722ac5d672db205e5c531d75
Timelineinfo
04/18/2026 Advisory disclosed
04/18/2026 +0 days CVE reserved
04/18/2026 +0 days VulDB entry created
04/18/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-xq3m-2v4x-88gg
Status: Confirmed
CVE: CVE-2026-41242 (🔒)
GCVE (CVE): GCVE-0-2026-41242
GCVE (VulDB): GCVE-100-358208
EUVD: 🔒
Entryinfo
Created: 04/18/2026 22:03
Updated: 04/18/2026 22:37
Changes: 04/18/2026 22:03 (72), 04/18/2026 22:37 (1)
Complete: 🔍
Cache ID: 99:2F9:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸