The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-44295

CVE-2026-44295: protobufjs-cli RCE Vulnerability

CVE-2026-44295 is a remote code execution vulnerability in protobufjs-cli that allows unsafe JavaScript identifiers in static code generation. This post covers technical details, affected versions, impact, and mitigation.

Published: May 17, 2026

CVE-2026-44295 Overview

CVE-2026-44295 affects protobufjs-cli, the command line add-on for protobuf.js. The pbjs static code generator emits unsafe JavaScript identifiers derived from schema-controlled names. When a developer generates static JavaScript from a crafted schema or JSON descriptor, namespace, enum, service, or derived full names can be written into the generated output without sufficient sanitization. The flaw is tracked as code injection [CWE-94] and is fixed in versions 1.2.1 and 2.0.2.

Critical Impact

Attackers who supply a malicious .proto schema or JSON descriptor can inject arbitrary JavaScript into generated code, leading to code execution in any process that loads the output.

Affected Products

  • protobufjs-cli versions prior to 1.2.1 (1.x branch)
  • protobufjs-cli versions prior to 2.0.2 (2.x branch)
  • Build pipelines and applications that run pbjs static code generation against untrusted schemas

Discovery Timeline

  • 2026-05-13 - CVE-2026-44295 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-44295

Vulnerability Analysis

The pbjs tool converts Protocol Buffer schemas into static JavaScript modules for runtime use. During generation, the tool writes identifiers derived from schema fields directly into the output source. Because the generator does not validate that these identifiers form safe JavaScript tokens, an attacker controlling the schema can break out of the intended identifier context. The injected content becomes part of the emitted .js file and executes when the module is loaded.

This is a classic build-time code injection issue. The attacker does not need to compromise the build host directly. Supplying a malicious .proto file or JSON descriptor through normal development workflows is sufficient. The Common Weakness Enumeration entry [CWE-94] captures this class of improper control of generated code.

Root Cause

The root cause is missing sanitization of namespace, enum, service, and derived full names during static code generation. The generator trusts schema-controlled strings as syntactically valid JavaScript identifiers. Names containing quotes, semicolons, brackets, or other JavaScript syntax characters terminate the intended identifier context and append attacker-controlled statements to the output.

Attack Vector

Exploitation requires a victim to run pbjs against an attacker-supplied schema and then execute or ship the generated code. Typical paths include consuming third-party .proto definitions from public registries, processing user-uploaded schemas in a build service, or merging a malicious pull request that modifies an existing schema. The CVSS vector indicates network-reachable attack with low complexity, low privileges, and required user interaction, with a scope change because the injected code runs in the consuming application rather than the generator.

No verified public proof-of-concept is available. The GitHub Security Advisory GHSA-6r35-46g8-jcw9 describes the affected identifier paths.

Detection Methods for CVE-2026-44295

Indicators of Compromise

  • Generated JavaScript files from pbjs containing unexpected statements, function calls, or string literals outside declared message and enum definitions.
  • .proto files or JSON descriptors with namespace, enum, service, or message names containing characters such as quotes, backticks, semicolons, parentheses, or newline escapes.
  • Build logs showing pbjs invocations against schemas sourced from untrusted contributors or third-party registries.

Detection Strategies

  • Diff generated pbjs output against a baseline produced from a known-good schema and flag any change outside expected identifier patterns.
  • Run static analysis with tools such as ESLint on generated artifacts to surface syntactically suspicious tokens or unreachable statements.
  • Audit dependency manifests for protobufjs-cli versions below 1.2.1 or 2.0.2 across all repositories and CI runners.

Monitoring Recommendations

  • Alert on CI pipeline executions of pbjs triggered by external pull requests or contributor branches.
  • Monitor package registry installs of protobufjs-cli and require pinning to fixed versions in lockfiles.
  • Record and review the schemas consumed by code generation jobs, treating them as build inputs subject to code review.

How to Mitigate CVE-2026-44295

Immediate Actions Required

  • Upgrade protobufjs-cli to 1.2.1 on the 1.x branch or 2.0.2 on the 2.x branch in every project and CI image.
  • Regenerate all previously emitted static JavaScript modules using a patched pbjs and replace shipped artifacts.
  • Treat every .proto and JSON descriptor sourced outside the trust boundary as untrusted input subject to review.

Patch Information

The maintainers fixed the issue in protobufjs-cli1.2.1 and 2.0.2 by sanitizing identifiers derived from schema-controlled names before emitting them into generated JavaScript. Refer to the GitHub Security Advisory GHSA-6r35-46g8-jcw9 for the upstream commits and release notes.

Workarounds

  • Restrict pbjs execution to schemas authored or reviewed by trusted maintainers until the upgrade is deployed.
  • Validate schema identifiers against a strict allowlist matching [A-Za-z_][A-Za-z0-9_]* before passing them to pbjs.
  • Isolate code generation in an ephemeral sandbox without access to source control credentials, registry tokens, or production secrets.
bash
# Configuration example: pin and upgrade protobufjs-cli
npm install --save-dev protobufjs-cli@^2.0.2

# Verify installed version
npx pbjs --version

# Optional: validate schema identifiers before generation
grep -E '^(message|enum|service|package)\s+[^A-Za-z_]' path/to/schema.proto && \
  echo 'Suspicious identifier detected' && exit 1

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechProtobufjs

  • SeverityHIGH

  • CVSS Score8.7

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44290: Protobufjs RCE Vulnerability

  • CVE-2026-44291: Protobufjs RCE Vulnerability

  • CVE-2026-44293: Protobufjs RCE Vulnerability

  • CVE-2026-42290: protobufjs-cli RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English