CVE-2026-44295: CWE-94: Improper Control of Generation of Code ('Code Injection') in protobufjs protobuf.js
CVE-2026-44295 is a high-severity code injection vulnerability in protobufjs's protobuf. js command line tool (protobufjs-cli). Versions prior to 1. 2. 1 and 2. 0. 2 allow unsafe JavaScript identifiers derived from schema-controlled names to be emitted during static code generation. This occurs because certain namespace, enum, service, or derived full names from crafted schemas or JSON descriptors are not sufficiently sanitized, leading to potential code injection. The vulnerability affects protobuf. js versions >= 2.
AI Analysis
Technical Summary
protobufjs-cli, the command line add-on for protobuf.js, had a vulnerability (CVE-2026-44295) where static code generation could produce unsafe JavaScript identifiers derived from schema-controlled names without proper sanitization. This improper control of code generation (CWE-94) could allow crafted schemas or JSON descriptors to inject unsafe code into the generated JavaScript output. The vulnerability affects protobuf.js versions prior to 1.2.1 and 2.0.2. The issue is resolved in versions 1.2.1 and 2.0.2. The CVSS 3.1 score is 8.7, indicating high severity with network attack vector, low attack complexity, requiring privileges and user interaction, and impacts confidentiality and integrity with scope changed.
Potential Impact
Successful exploitation could allow an attacker with some privileges and user interaction to inject and execute arbitrary JavaScript code during static code generation, potentially leading to full compromise of confidentiality and integrity of the affected system or application. Availability is not impacted. There are no known exploits in the wild currently.
Mitigation Recommendations
Upgrade protobuf.js to version 1.2.1 or later, or 2.0.2 or later, where this vulnerability is fixed. Since no official patch or remediation level is explicitly stated beyond the fixed versions, applying these updates is the recommended remediation. Patch status is confirmed by the vendor advisory content stating the issue is fixed in these versions.
CVE-2026-44295: CWE-94: Improper Control of Generation of Code ('Code Injection') in protobufjs protobuf.js
Description
CVE-2026-44295 is a high-severity code injection vulnerability in protobufjs's protobuf. js command line tool (protobufjs-cli). Versions prior to 1. 2. 1 and 2. 0. 2 allow unsafe JavaScript identifiers derived from schema-controlled names to be emitted during static code generation. This occurs because certain namespace, enum, service, or derived full names from crafted schemas or JSON descriptors are not sufficiently sanitized, leading to potential code injection. The vulnerability affects protobuf. js versions >= 2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
protobufjs-cli, the command line add-on for protobuf.js, had a vulnerability (CVE-2026-44295) where static code generation could produce unsafe JavaScript identifiers derived from schema-controlled names without proper sanitization. This improper control of code generation (CWE-94) could allow crafted schemas or JSON descriptors to inject unsafe code into the generated JavaScript output. The vulnerability affects protobuf.js versions prior to 1.2.1 and 2.0.2. The issue is resolved in versions 1.2.1 and 2.0.2. The CVSS 3.1 score is 8.7, indicating high severity with network attack vector, low attack complexity, requiring privileges and user interaction, and impacts confidentiality and integrity with scope changed.
Potential Impact
Successful exploitation could allow an attacker with some privileges and user interaction to inject and execute arbitrary JavaScript code during static code generation, potentially leading to full compromise of confidentiality and integrity of the affected system or application. Availability is not impacted. There are no known exploits in the wild currently.
Mitigation Recommendations
Upgrade protobuf.js to version 1.2.1 or later, or 2.0.2 or later, where this vulnerability is fixed. Since no official patch or remediation level is explicitly stated beyond the fixed versions, applying these updates is the recommended remediation. Patch status is confirmed by the vendor advisory content stating the issue is fixed in these versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-05T17:39:31.113Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a049721cbff5d8610e00ecf
Added to database: 5/13/2026, 3:22:09 PM
Last enriched: 5/13/2026, 3:36:34 PM
Last updated: 5/13/2026, 5:11:31 PM
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.