Host authentication bypass via NUL-truncated DNS SAN
Published Jun 26, 2026 · Updated Jun 26, 2026
Improper certificate validation in Envoy allows man-in-the-middle attackers to impersonate configured upstream TLS hosts. DefaultCertValidator::verifySubjectAltName passes a DNS SAN through c_str(), so dnsNameMatch uses strlen() and compares only the prefix before an embedded NUL. Exploitation requires auto_sni and auto_san_validation, a trusted CA that issues the malformed certificate, and upstream traffic interception; other SAN types are unaffected.
Summary
What happened
Improper certificate validation in Envoy allows man-in-the-middle attackers to impersonate configured upstream TLS hosts. DefaultCertValidator::verifySubjectAltName passes a DNS SAN through c_str(), so dnsNameMatch uses strlen() and compares only the prefix before an embedded NUL. Exploitation requires auto_sni and auto_san_validation, a trusted CA that issues the malformed certificate, and upstream traffic interception; other SAN types are unaffected.
The record
- CVE
- CVE-2026-47778
- Published
- Jun 26, 2026
- Updated
- Jun 26, 2026
- Vendor
- Envoy Proxy
- Product
- Envoy
- Classifications
- CWE-158, T1557
- Attack vector
- network
- Privileges
- Unavailable
Timeline
How it unfolded
- Jun 26, 2026CVE publishedPublication date reported by the CVE source.
- Jun 26, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.35.11
- Affected versionversion=>= 1.36.0, < 1.36.7
- Affected versionversion=>= 1.37.0, < 1.37.3
- Affected versionversion=>= 1.38.0, < 1.38.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Envoy Embedded NUL Truncation Reproducerproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo