CVE-2026-47778: Envoy: Embedded NUL in TLS DNS SAN Truncation in the Default TLS Certificate Validator. (Auth Bypass)
Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to 1.35.11, 1.36.7, 1.37.3, and 1.38.1, a structural flaw was identified in DefaultCertValidator::verifySubjectAltName where the extracted DNS SAN string is cast to a C-style string using .cstr() before being passed to the Utility::dnsNameMatch() algorithm. If the attacker serves a certificate with a dNSName SAN containing an embedded NUL byte, the helper Utility::generalNameAsString captures the complete string including the NUL. However, when .cstr() evaluates it, implicit conversion to absl::stringview inside dnsNameMatch relies on strlen(), prematurely truncating the evaluation context. Envoy evaluates trucated string against the exact required configsan match and returns true, thereby successfully validating the string with the Nul byte for an upstream routing. This vulnerability is fixed in 1.35.11, 1.36.7, 1.37.3, and 1.38.1.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.35.11 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.36.7 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.37.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.38.1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-47778?
The severity of CVE-2026-47778 is medium, with a score of 4.4.
How do I fix CVE-2026-47778?
To fix CVE-2026-47778, update Envoy to versions 1.35.11, 1.36.7, 1.37.3, or 1.38.1 or later.
What does CVE-2026-47778 affect?
CVE-2026-47778 affects Envoy, an open-source edge and service proxy used for cloud-native applications.
What type of vulnerability is CVE-2026-47778?
CVE-2026-47778 is a structural flaw that could lead to an authentication bypass due to improper validation.
What is the impact of CVE-2026-47778?
The impact of CVE-2026-47778 is that it may allow attackers to bypass security through invalid DNS SAN strings.