{"id":"CVE-2026-47778","aliases":["CVE-2026-47778","BIT-ENVOY-2026-47778","GHSA-f8x4-rw5x-f3r7"],"related":[],"kind":"vulnerability","state":"published","title":"Envoy: Embedded NUL in TLS DNS SAN Truncation in the Default TLS Certificate Validator. (Auth Bypass)","summary":"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 .c_str() 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 .c_str() evaluates it, implicit conversion to absl::string_view inside dnsNameMatch relies on strlen(), prematurely truncating the evaluation context. Envoy evaluates trucated string against the exact required config_san 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 .c_str() 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 .c_str() evaluates it, implicit conversion to absl::string_view inside dnsNameMatch relies on strlen(), prematurely truncating the evaluation context. Envoy evaluates trucated string against the exact required config_san 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.","source":"cvelist"},{"lang":"es","text":"Envoy es un proxy de borde y de servicio de código abierto diseñado para aplicaciones nativas de la nube. Antes de 1.35.11, 1.36.7, 1.37.3 y 1.38.1, se identificó una falla estructural en DefaultCertValidator::verifySubjectAltName donde la cadena DNS SAN extraída se convierte a una cadena de estilo C usando .c_str() antes de ser pasada al algoritmo Utility::dnsNameMatch(). Si el atacante sirve un certificado con un dNSName SAN que contiene un byte NUL incrustado, la función auxiliar Utility::generalNameAsString captura la cadena completa incluyendo el NUL. Sin embargo, cuando .c_str() lo evalúa, la conversión implícita a absl::string_view dentro de dnsNameMatch se basa en strlen(), truncando prematuramente el contexto de evaluación. Envoy evalúa la cadena truncada contra la coincidencia exacta requerida de config_san y devuelve true, validando así exitosamente la cadena con el byte NUL para un enrutamiento ascendente. Esta vulnerabilidad se corrige en 1.35.11, 1.36.7, 1.37.3 y 1.38.1.","source":"nvd"}],"published":"2026-06-26T17:27:57.707Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-158"],"affected":[{"ranges":[{"version":">= 1.38.0, < 1.38.1","status":"affected"},{"version":">= 1.37.0, < 1.37.3","status":"affected"},{"version":">= 1.36.0, < 1.36.7","status":"affected"},{"version":"< 1.35.11","status":"affected"}],"vendor":"envoyproxy","product":"envoy","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.35.13"},{"status":"affected","introduced":"1.36.0","fixed":"1.36.9"},{"status":"affected","introduced":"1.37.0","fixed":"1.37.5"},{"status":"affected","introduced":"1.38.0","fixed":"1.38.3"}],"vendor":"envoyproxy","product":"envoy","cpe":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.35.11"},{"type":"semver","introduced":"1.36.0","status":"affected","fixed":"1.36.7"},{"type":"semver","introduced":"1.37.0","status":"affected","fixed":"1.37.3"},{"type":"semver","introduced":"1.38.0","status":"affected","fixed":"1.38.1"}],"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","source":"bitnami"}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-f8x4-rw5x-f3r7","tags":["advisory","exploit","mitigation","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47778","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-27T02:52:00.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47778","url":"https://www.cve.org/CVERecord?id=CVE-2026-47778","licence":"CVE Terms of Use","modified":"2026-06-27T02:53:13.826Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47778","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47778","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-2026-47778","url":"https://osv.dev/vulnerability/BIT-ENVOY-2026-47778","licence":"Apache-2.0","modified":"2026-09-08T08:47:31.595Z"}],"updatedAt":"2026-11-25T22:59:26.507Z","epss":{"score":0.00176,"percentile":0.0748,"date":"2026-12-01T12:00:22.000Z"}}