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-2022-21190

CVE-2022-21190: Mozilla Convict Auth Bypass Vulnerability

CVE-2022-21190 is an authentication bypass flaw in Mozilla Convict that allows attackers to circumvent security controls. This vulnerability bypasses previous fixes by exploiting path validation weaknesses. Learn the details.

Published: February 11, 2026

CVE-2022-21190 Overview

CVE-2022-21190 is a prototype pollution vulnerability affecting the Mozilla Convict configuration management library for Node.js. This vulnerability represents a bypass of a previous security fix (CVE-2022-22143), allowing attackers to pollute JavaScript object prototypes through specially crafted configuration paths.

The original fix introduced in response to CVE-2022-22143 relied on the startsWith method to check if configuration paths began with dangerous strings like __proto__ or this.constructor.prototype. However, this validation can be trivially bypassed by prepending any string value followed by a dot before the forbidden paths, such as foo.__proto__ or foo.this.constructor.prototype.

Critical Impact

Successful exploitation enables remote attackers to modify JavaScript object prototypes without authentication, potentially leading to arbitrary code execution, denial of service, or complete application compromise.

Affected Products

  • Mozilla Convict (versions before 6.2.3)
  • Node.js applications using vulnerable convict versions

Discovery Timeline

  • May 13, 2022 - CVE-2022-21190 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-21190

Vulnerability Analysis

This vulnerability is a classic example of incomplete input validation leading to prototype pollution. When the initial CVE-2022-22143 was disclosed, Mozilla implemented a fix that checked if configuration paths started with forbidden strings like __proto__ or this.constructor.prototype. However, the validation logic failed to account for nested property paths where the dangerous string appears after the first property accessor.

Prototype pollution in JavaScript occurs when an attacker can inject properties into the base Object.prototype, which is then inherited by all objects in the application. In the context of Convict, this allows attackers to inject malicious configuration values that propagate throughout the application, potentially affecting security-critical settings, authentication mechanisms, or enabling code execution through gadget chains.

The network-accessible nature of this vulnerability, combined with no authentication requirements, makes it particularly dangerous for Node.js applications exposed to untrusted input.

Root Cause

The root cause lies in the insufficient path validation logic in the Convict library. The fix for CVE-2022-22143 only checked if paths started with forbidden strings (__proto__ and this.constructor.prototype). This approach fails to prevent prototype pollution when the dangerous path segment appears anywhere other than the beginning of the configuration path.

The startsWith method validation could be bypassed simply by prepending an arbitrary property name (e.g., foo.) before the forbidden path segments, effectively circumventing the security check while still achieving prototype pollution.

Attack Vector

The attack exploits the incomplete path validation by constructing configuration paths that include prototype-polluting segments after an initial benign property name. An attacker can supply configuration input containing paths like:

  • foo.__proto__.isAdmin to inject an isAdmin property into all objects
  • bar.this.constructor.prototype.authenticated to inject authentication bypass values

Since Convict is commonly used to process configuration from various sources including environment variables, files, and potentially user-controlled input, applications that pass untrusted data through Convict's configuration parsing are vulnerable to this attack.

javascript
// Security patch in packages/convict/src/main.js - More complete fix for prototype pollution
 
 // Forbidden key paths, for protection against prototype pollution
 const FORBIDDEN_KEY_PATHS = [
-  '__proto__',
-  'this.constructor.prototype',
+  '__proto__.',
+  'this.constructor.prototype.',
 ]
 
 const ALLOWED_OPTION_STRICT = 'strict'

Source: GitHub Node-Convict Commit

The patch addresses the vulnerability by changing the forbidden path checks to include the trailing dot, enabling detection of these dangerous path segments regardless of where they appear in the full configuration path.

Detection Methods for CVE-2022-21190

Indicators of Compromise

  • Unusual configuration values appearing in application objects that were not explicitly defined
  • Unexpected properties on JavaScript base prototypes (Object.prototype)
  • Application behavior anomalies related to authentication or authorization
  • Configuration parsing errors or unexpected type coercion in application logs

Detection Strategies

  • Implement Software Composition Analysis (SCA) scanning to identify vulnerable Convict versions in your dependency tree
  • Monitor application logs for configuration path patterns containing __proto__ or constructor.prototype substrings
  • Use runtime protection tools that detect and block prototype pollution attempts
  • Deploy Node.js application security monitoring to detect unusual object property modifications

Monitoring Recommendations

  • Enable verbose logging for Convict configuration parsing operations
  • Implement application-level monitoring for prototype pollution indicators using tools like Object.freeze(Object.prototype) in development environments
  • Set up dependency vulnerability alerts through npm audit, Snyk, or similar tools
  • Monitor for unexpected property access patterns in production applications

How to Mitigate CVE-2022-21190

Immediate Actions Required

  • Upgrade Mozilla Convict to version 6.2.3 or later immediately
  • Audit all applications using Convict for exposure to untrusted configuration input
  • Review configuration sources to ensure user-controlled data cannot reach Convict parsing functions
  • Implement input validation and sanitization for any configuration paths before passing to Convict

Patch Information

Mozilla has released version 6.2.3 of Convict which addresses this prototype pollution bypass. The fix modifies the FORBIDDEN_KEY_PATHS array to include trailing dots, allowing the validation to detect dangerous path segments anywhere in the configuration path rather than only at the beginning.

The security patch is available in the GitHub Node-Convict Commit. Additional details can be found in the Snyk Vulnerability Report.

Workarounds

  • Freeze the Object prototype using Object.freeze(Object.prototype) as a defense-in-depth measure (may cause compatibility issues with some libraries)
  • Implement custom input sanitization to reject configuration paths containing __proto__ or constructor substrings
  • Isolate Convict configuration processing in a sandboxed environment or separate process
  • Use schema validation to strictly define allowed configuration keys and reject unexpected paths
bash
# Configuration example
# Upgrade convict to patched version
npm update convict@6.2.3

# Or explicitly install the fixed version
npm install convict@^6.2.3

# Verify installed version
npm list convict

# Run security audit to check for other vulnerabilities
npm audit

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechMozilla Convict

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.67%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-1321
  • Technical References
  • GitHub Gist Source Code

  • GitHub Node-Convict Changelog

  • Snyk Vulnerability Report
  • Vendor Resources
  • GitHub Node-Convict File

  • GitHub Node-Convict Commit
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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