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…
EPSS 0.4%top 68%

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: 05/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 vulnerability in protobufjs-cli, the command line add-on for protobuf.js. Before versions 1.2.1 and 2.0.2, the static code generation feature (pbjs) could produce unsafe JavaScript identifiers derived from schema-controlled names without proper sanitization. This flaw allows crafted schemas or JSON descriptors to inject unsafe code into the generated JavaScript output. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code). It has a CVSS v3.

CVSS v3.1

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Affected software

protobufjs-cli
pkg:npm/protobufjs-cli
Affected versions
<1.2.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 19:12:40 UTC

Technical Analysis

The vulnerability in protobufjs-cli's static code generation (pbjs) arises from insufficient sanitization of namespace, enum, service, or derived full names when generating static JavaScript code from schemas or JSON descriptors. This can lead to code injection (CWE-94), where unsafe JavaScript identifiers are emitted based on attacker-controlled input. Versions prior to 1.2.1 and 2.0.2 are affected. The vulnerability allows an attacker with limited privileges (PR:L) and requiring user interaction (UI:R) to execute injected code, impacting confidentiality and integrity. The vulnerability is fixed in protobuf.js versions 1.2.1 and 2.0.2.

Potential Impact

Successful exploitation can lead to code injection in the generated JavaScript output, potentially allowing an attacker to execute arbitrary code within the context of the application using protobuf.js. This impacts confidentiality and integrity of the affected system. There are no known exploits in the wild at this time.

Mitigation Recommendations

This vulnerability is fixed in protobuf.js versions 1.2.1 and 2.0.2. Users should upgrade to at least these versions to remediate the issue. Since no official patch links or advisories are provided, verify the upgrade through the official protobufjs project repositories or package managers. No additional mitigations are specified.

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: 05/13/2026, 15:22:09 UTC

Last enriched: 05/20/2026, 19:12:40 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 62

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