{"id":"DHI-kwzz-a7yi-kmos-oqvv","summary":"External Secrets Operator reads information from a third-party service and automatically injects the values as…","details":"External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Versions 2.2.0 and below contain a vulnerability in runtime/template/v2/template.go where the v2 template engine removes env and expandenv from Sprig's TxtFuncMap() but leaves the getHostByName function accessible to user-controlled templates. Since ESO executes templates within the controller process, an attacker who can create or update templated ExternalSecret resources can invoke controller-side DNS lookups using secret-derived values. This creates a DNS exfiltration primitive, allowing fetched secret material to be leaked via DNS queries without requiring direct outbound network access from the attacker's workload. The impact is a confidentiality issue, particularly in environments where untrusted or lower-trust users can author templated ExternalSecret resources and the controller has DNS resolution capability. This issue has been fixed in version 2.3.0.","modified":"2026-11-18T11:15:07.371935436Z","published":"2026-11-13T17:02:28Z","upstream":["CVE-2026-34984"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-kwzz-a7yi-kmos-oqvv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34984"},{"type":"ADVISORY","url":"https://github.com/external-secrets/external-secrets/security/advisories/GHSA-r2pg-r6h7-crf3"},{"type":"FIX","url":"https://github.com/external-secrets/external-secrets/commit/6800989bdc12782ca2605d3b8bf7f2876a16551a"},{"type":"WEB","url":"https://github.com/external-secrets/external-secrets/releases/tag/v2.3.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-r2pg-r6h7-crf3"},{"type":"ADVISORY","url":"https://pkg.go.dev/vuln/GO-2026-5602"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-34984"},{"type":"FIX","url":"https://www.cve.org/CVERecord?id=CVE-2026-34984"}],"affected":[{"package":{"name":"esoctl-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/esoctl-dev"},"versions":["1.3.2-r0","1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r2","1.3.2-r3","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9","2.10.0-r0","2.10.0-r1","2.10.0-r2","2.10.0-r3","2.11.0-r0","2.11.0-r1","2.11.0-r2","2.12.0-r0","2.12.0-r1","2.13.0-r0","2.13.0-r1","2.14.0-r0","2.15.0-r0","2.15.0-r1","2.15.0-r2","2.7.0-r0","2.8.0-r0","2.9.0-r0","2.9.0-r2","2.9.0-r3","2.9.0-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}},{"package":{"name":"esoctl-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/esoctl-fips-dev"},"versions":["1.3.2-r0","1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r2","1.3.2-r3","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9","2.10.0-r0","2.10.0-r1","2.10.0-r2","2.10.0-r3","2.11.0-r0","2.11.0-r1","2.11.0-r2","2.12.0-r0","2.12.0-r1","2.13.0-r0","2.13.0-r1","2.14.0-r0","2.15.0-r0","2.15.0-r1","2.15.0-r2","2.7.0-r0","2.8.0-r0","2.9.0-r0","2.9.0-r2","2.9.0-r3","2.9.0-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}},{"package":{"name":"esoctl-fips","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/esoctl-fips"},"versions":["1.3.2-r0","1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r2","1.3.2-r3","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9","2.10.0-r0","2.10.0-r1","2.10.0-r2","2.10.0-r3","2.11.0-r0","2.11.0-r1","2.11.0-r2","2.12.0-r0","2.12.0-r1","2.13.0-r0","2.13.0-r1","2.14.0-r0","2.15.0-r0","2.15.0-r1","2.15.0-r2","2.7.0-r0","2.8.0-r0","2.9.0-r0","2.9.0-r2","2.9.0-r3","2.9.0-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}},{"package":{"name":"esoctl","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/esoctl"},"versions":["1.3.2-r0","1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r2","1.3.2-r3","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9","2.10.0-r0","2.10.0-r1","2.10.0-r2","2.10.0-r3","2.11.0-r0","2.11.0-r1","2.11.0-r2","2.12.0-r0","2.12.0-r1","2.13.0-r0","2.13.0-r1","2.14.0-r0","2.15.0-r0","2.15.0-r1","2.15.0-r2","2.7.0-r0","2.8.0-r0","2.9.0-r0","2.9.0-r2","2.9.0-r3","2.9.0-r4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}},{"package":{"name":"external-secrets-1-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/external-secrets-1-dev"},"versions":["1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}},{"package":{"name":"external-secrets-1-fips-dev","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/external-secrets-1-fips-dev"},"versions":["1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}},{"package":{"name":"external-secrets-1-fips","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/external-secrets-1-fips"},"versions":["1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json","owner_kind":"HSP"}},{"package":{"name":"external-secrets-1","ecosystem":"Docker Hardened Images:Alpine:3.23","purl":"pkg:apk/dhi/external-secrets-1"},"versions":["1.3.2-r10","1.3.2-r11","1.3.2-r12","1.3.2-r13","1.3.2-r14","1.3.2-r4","1.3.2-r5","1.3.2-r6","1.3.2-r7","1.3.2-r8","1.3.2-r9"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-kwzz-a7yi-kmos-oqvv.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"}]}