Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-34984

External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine
Back to all
CVE

CVE-2026-34984

External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine

Summary

The v2 template engine in runtime/template/v2/template.go imports Sprig’s TxtFuncMap() and removes env and expandenv, but leaves getHostByName available to user-controlled  templates. Because ESO executes templates inside the controller process, an attacker who can create or update templated ExternalSecret resources can trigger controller-side DNS lookups using secret-derived values, creating a DNS exfiltration primitive.

Impact

This is a confidentiality issue. In environments where untrusted or lower-trust users can author templated ExternalSecret resources and the controller can perform DNS resolution, fetched secret material can be exfiltrated through DNS without requiring direct outbound access from the attacker’s workload.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.1
-
4.0
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
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
C
H
U
7.1
-
4.0
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

Related Resources

No items found.

References

https://github.com/external-secrets/external-secrets/security/advisories/GHSA-r2pg-r6h7-crf3, https://nvd.nist.gov/vuln/detail/CVE-2026-34984, https://github.com/external-secrets/external-secrets/commit/6800989bdc12782ca2605d3b8bf7f2876a16551a, https://github.com/external-secrets/external-secrets, https://github.com/external-secrets/external-secrets/releases/tag/v2.3.0

Severity

6.5

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
6.5
EPSS Probability
0.00039%
EPSS Percentile
0.12129%
Introduced Version
0,v1.0.0,v0.2.1-esoctl,v0.2.0-esoctl,v0.0.0-20251103072335-a9b233b6936f,v0.4.3,v0.1.0-esoctl,v0.0.0-20220211072631-54e68399eca4
Fix Available
1.3.3-0.20260331202714-6800989bdc12,v2.3.0,v0.0.0-20260331202714-6800989bdc12

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading