Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-21654

CVE-2022-21654: Envoyproxy Envoy Info Disclosure Flaw

CVE-2022-21654 is an information disclosure vulnerability in Envoyproxy Envoy caused by TLS certificate reuse when validation settings change. This post covers the technical details, affected versions, security impact, and mitigation.

Published: February 11, 2026

CVE-2022-21654 Overview

CVE-2022-21654 is a critical certificate validation bypass vulnerability in Envoy, an open source edge and service proxy designed for cloud-native applications. The vulnerability exists in Envoy's TLS implementation, which incorrectly allows session re-use when certain certificate validation settings have been changed from their default configuration. This flaw could allow an attacker to bypass certificate validation checks by leveraging previously established TLS sessions, even after security settings have been modified to enforce stricter validation requirements.

Critical Impact

This vulnerability allows attackers to bypass TLS certificate validation by exploiting session reuse behavior, potentially enabling man-in-the-middle attacks and unauthorized access to protected services in cloud-native environments.

Affected Products

  • Envoyproxy Envoy (multiple versions)
  • Cloud-native applications using Envoy as service proxy
  • Kubernetes environments with Envoy-based service mesh implementations

Discovery Timeline

  • 2022-02-22 - CVE-2022-21654 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2022-21654

Vulnerability Analysis

The vulnerability stems from improper certificate validation (CWE-295) in Envoy's TLS session management. When administrators modify certificate validation settings from their default configuration, existing TLS sessions may be improperly reused without re-validation against the new security requirements. This creates a window where connections established under less restrictive policies continue to be trusted even after stricter validation rules have been applied.

The core issue lies in how Envoy calculates session context IDs. The session ID hash did not properly include all certificate validation configuration parameters, meaning that configuration changes would not invalidate existing sessions. An attacker who established a valid session before security hardening could continue to use that session without being subject to the updated validation requirements.

Root Cause

The root cause is that the hash calculation for TLS session context IDs failed to incorporate all certificate validation configuration parameters. When computing whether a session could be reused, the system did not account for changes in validation settings, allowing sessions to persist across configuration changes that should have invalidated them. The CertificateValidationContextConfig interface and related validators needed to ensure that any configuration change affecting peer certificate validation would result in session re-negotiation.

Attack Vector

The attack requires network access to the Envoy proxy. An attacker could exploit this vulnerability by:

  1. Establishing a legitimate TLS session when permissive certificate validation settings are in place
  2. Waiting for or triggering a configuration change that tightens certificate validation requirements
  3. Continuing to use the pre-existing session, bypassing the newly enforced validation checks
  4. Leveraging the trusted session to access resources that should now require stricter certificate validation
c
// Security patch in envoy/ssl/certificate_validation_context_config.h
 namespace Envoy {
 namespace Ssl {
 
+// SECURITY NOTE
+//
+// When adding or changing this interface, it is likely that a change is needed to
+// `DefaultCertValidator::updateDigestForSessionId` in
+// `source/extensions/transport_sockets/tls/cert_validator/default_validator.cc`.
 class CertificateValidationContextConfig {
 public:
   virtual ~CertificateValidationContextConfig() = default;

Source: GitHub Commit e9f936d85dc1edc34fabd0a1725ec180f2316353

The patch adds a critical security note emphasizing that any changes to the certificate validation interface must be reflected in the session ID digest calculation to prevent session reuse vulnerabilities.

c
// Security patch in source/extensions/transport_sockets/tls/cert_validator/cert_validator.h
                                     bool handshaker_provides_certificates) PURE;
 
   /**
-   * Called when calculation hash for session context ids
+   * Called when calculation hash for session context ids. This hash MUST include all
+   * configuration used to validate a peer certificate, so that if this configuration
+   * is changed, sessions cannot be re-used and must be re-negotiated and re-validated
+   * using the new settings.
    *
    * @param md the store context
    * @param hash_buffer the buffer used for digest calculation

Source: GitHub Commit e9f936d85dc1edc34fabd0a1725ec180f2316353

This patch updates the documentation to explicitly require that all validation configuration be included in the session hash calculation.

Detection Methods for CVE-2022-21654

Indicators of Compromise

  • Unusual TLS session persistence across configuration reload events
  • Connections maintaining established sessions after certificate validation policy changes
  • Log entries showing session reuse for connections that should require re-validation
  • Anomalous traffic patterns from previously established sessions accessing newly restricted resources

Detection Strategies

  • Monitor Envoy access logs for sessions that persist through configuration changes affecting TLS validation
  • Implement alerting on TLS session reuse events following administrative changes to certificate validation settings
  • Deploy network monitoring to detect connections using sessions established before security policy tightening
  • Review Envoy configuration management systems for changes to TLS validation parameters

Monitoring Recommendations

  • Enable detailed TLS handshake logging in Envoy to track session establishment and reuse events
  • Configure alerts for configuration changes affecting CertificateValidationContextConfig settings
  • Implement periodic session inventory audits to identify long-lived sessions that may predate security changes
  • Monitor for connections from endpoints that should fail current certificate validation requirements

How to Mitigate CVE-2022-21654

Immediate Actions Required

  • Upgrade Envoy to a patched version that includes commit e9f936d85dc1edc34fabd0a1725ec180f2316353
  • If unable to upgrade immediately, ensure that default TLS settings are used (as per vendor workaround)
  • Force TLS session renegotiation after any certificate validation configuration changes
  • Review and audit all certificate validation settings currently in use

Patch Information

The vulnerability has been addressed in the Envoy codebase through commit e9f936d85dc1edc34fabd0a1725ec180f2316353. The fix ensures that the session context ID hash includes all certificate validation configuration parameters, forcing session renegotiation when validation settings change. Users should upgrade to a version containing this fix. For detailed patch information, refer to the GitHub Security Advisory GHSA-5j4x-g36v-m283.

Workarounds

  • Ensure that default TLS settings are used across all Envoy deployments until patching is possible
  • Manually restart Envoy instances after any certificate validation configuration changes to clear existing sessions
  • Implement external session management that forces re-authentication when security policies change
  • Consider temporarily disabling TLS session caching in high-security environments
bash
# Configuration example - Force session invalidation by restarting Envoy after config changes
# After modifying TLS certificate validation settings, restart the Envoy process
systemctl restart envoy

# Alternatively, send SIGHUP to reload configuration and clear sessions
pkill -HUP envoy

# Verify Envoy version contains the security fix
envoy --version

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechEnvoyproxy

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.06%

  • 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-295
  • Technical References
  • GitHub Security Advisory GHSA-5j4x-g36v-m283
  • Vendor Resources
  • GitHub Commit Details
  • Related CVEs
  • CVE-2026-26310: Envoyproxy Envoy DOS Vulnerability

  • CVE-2026-26311: Envoyproxy Envoy Use-After-Free Flaw

  • CVE-2026-26330: Envoyproxy Envoy DOS Vulnerability

  • CVE-2024-27919: Envoyproxy Envoy DoS 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