A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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-2025-66220

CVE-2025-66220: Envoyproxy Envoy mTLS Certificate Vulnerability

CVE-2025-66220 is a certificate validation flaw in Envoyproxy Envoy that incorrectly validates mTLS certificates with embedded null bytes in OTHERNAME SAN values. This article covers technical details, affected versions, and mitigation.

Published: June 16, 2026

CVE-2025-66220 Overview

CVE-2025-66220 affects Envoy, a high-performance edge, middle, and service proxy widely deployed in service mesh and API gateway architectures. The vulnerability resides in Envoy's mutual TLS (mTLS) certificate matcher logic for match_typed_subject_alt_names. The matcher incorrectly treats certificates containing an embedded null byte (\0) inside an OTHERNAME Subject Alternative Name (SAN) value as valid matches. An attacker holding a certificate with a crafted OTHERNAME SAN can bypass identity-based authorization checks. The flaw is tracked under CWE-170: Improper Null Termination.

Critical Impact

Authenticated attackers can bypass mTLS identity matching and impersonate trusted services in Envoy-fronted environments.

Affected Products

  • Envoy 1.33.x through 1.33.12
  • Envoy 1.34.x through 1.34.10
  • Envoy 1.35.x through 1.35.6 and 1.36.x through 1.36.2

Discovery Timeline

  • 2025-12-03 - CVE-2025-66220 published to NVD
  • 2025-12-05 - Last updated in NVD database

Technical Details for CVE-2025-66220

Vulnerability Analysis

Envoy uses match_typed_subject_alt_names to validate peer certificates against an allowlist of expected SAN values during mTLS handshakes. The matcher compares the decoded OTHERNAME SAN value against configured matchers using string comparison routines that terminate on null bytes. When a certificate presents an OTHERNAME SAN containing an embedded \0, the matcher truncates comparison at the null byte. A certificate with a SAN value such as trusted.service\0attacker.example is treated as matching trusted.service. This allows an attacker with a validly signed certificate from a permitted certificate authority to impersonate identities the matcher was configured to permit.

Root Cause

The root cause is improper null termination handling [CWE-170] in the SAN matching code path. ASN.1 OTHERNAME values are length-prefixed octet strings and may legitimately contain null bytes, but Envoy's comparator treated them as C-style strings. The mismatch between the certificate encoding semantics and the comparison routine produces incorrect equality results.

Attack Vector

Exploitation requires the attacker to obtain a certificate signed by a CA trusted by the target Envoy deployment, with attacker-controlled content in the OTHERNAME SAN field. The attacker presents this certificate during the mTLS handshake to an Envoy listener configured with match_typed_subject_alt_names. Envoy accepts the connection and applies the policy associated with the spoofed identity, granting access to upstream services intended only for the legitimate identity holder.

No verified public proof-of-concept code is available. See the Envoy GitHub Security Advisory GHSA-rwjg-c3h2-f57p for vendor technical details.

Detection Methods for CVE-2025-66220

Indicators of Compromise

  • Peer certificates presented to Envoy listeners that contain embedded null bytes within OTHERNAME SAN values.
  • Access logs showing successful mTLS connections from client identities that do not match expected service principals.
  • Unexpected upstream cluster access from workloads whose SPIFFE IDs or service identities deviate from documented baselines.

Detection Strategies

  • Parse Envoy access logs and audit the DOWNSTREAM_PEER_URI_SAN and DOWNSTREAM_PEER_SUBJECT fields for non-printable characters or null bytes.
  • Inspect issued certificates at the certificate authority for OTHERNAME SAN values containing 0x00 bytes.
  • Correlate authentication telemetry from sidecars and ingress proxies to identify identity mismatches between TLS peer SANs and application-layer identifiers.

Monitoring Recommendations

  • Enable verbose TLS handshake logging on Envoy listeners using match_typed_subject_alt_names and forward logs to a centralized analytics platform.
  • Alert on any certificate issuance events that include control characters in SAN fields.
  • Monitor for service-to-service traffic patterns that violate established zero-trust policy baselines.

How to Mitigate CVE-2025-66220

Immediate Actions Required

  • Upgrade Envoy to a fixed release: 1.33.13, 1.34.11, 1.35.7, 1.36.3, or later as published in the vendor advisory.
  • Audit all certificate authorities trusted by Envoy listeners and restrict issuance templates to forbid null bytes in SAN extensions.
  • Review match_typed_subject_alt_names configuration and confirm matchers reflect the minimum required identity set.

Patch Information

The Envoy maintainers released fixed versions following the disclosure documented in GHSA-rwjg-c3h2-f57p. Operators running Envoy 1.33.12, 1.34.10, 1.35.6, 1.36.2, or earlier must upgrade. Service mesh distributions that embed Envoy, including Istio and Envoy Gateway, should be updated once downstream releases incorporate the fix.

Workarounds

  • Replace match_typed_subject_alt_names with exact-match URI SAN validation that rejects values containing non-printable bytes via custom validation filters.
  • Enforce SPIFFE identity validation at the application layer in addition to Envoy-level matching until patched binaries are deployed.
  • Restrict trusted CAs in Envoy validation_context to the smallest possible set to reduce the surface for forged OTHERNAME SANs.
bash
# Verify Envoy version on a running proxy
envoy --version

# Example: upgrade Envoy container image to a patched tag
docker pull envoyproxy/envoy:v1.36.3
kubectl set image deployment/envoy envoy=envoyproxy/envoy:v1.36.3

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

  • Vulnerability Details
  • TypeOther

  • Vendor/TechEnvoy

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.16%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-170
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-6994: Envoy Query Parameter Injection RCE Flaw

  • CVE-2026-41246: Contour Kubernetes Ingress RCE Vulnerability

  • CVE-2026-26308: Envoyproxy Envoy Auth Bypass Vulnerability

  • CVE-2026-26309: Envoyproxy Envoy Buffer Overflow Flaw
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