Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-44295: CWE-94: Improper Control of Generation of Code ('Code Injection') in protobufjs protobuf.js

0
High
VulnerabilityCVE-2026-44295cvecve-2026-44295cwe-94
Published: Wed May 13 2026 (05/13/2026, 14:50:39 UTC)
Source: CVE Database V5
Vendor/Project: protobufjs
Product: 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

AILast updated: 05/13/2026, 15:36:34 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses