7.1

CVE-2026-34984: External Secrets Operator has DNS exfiltration via getHostByName in its v2 template engine

Analyzed
AliasesCGA-4gxc-42j3-44mvCGA-8f3x-xjc7-wv39CGA-cjhx-5hr5-cv3f
Published 14-04-2026Last modified 14-04-2026

Vulnerability summary

CVE-2026-34984 is a high (CVSS 7.1) vulnerability in external-secrets external_secrets_operator. EPSS estimates a 0.45% chance of exploitation in the next 30 days, higher than 37.9% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.1/10
010
High · v4.0 (CVE.org)
EPSS score
0.45%
0%100%
Low · +0.19 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 14-04-2026
    PublishedVulnerability first disclosed.
  2. 14-04-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

0.45%

Chance of exploitation in the next 30 days

Percentile

38%

Versus all other CVEs

30-day change

Increase +0.19 pp

From 0.26% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard13 products
  • external-secrets-operator-0.20All versions (No fix recorded)
  • external-secrets-operator-1.0All versions (No fix recorded)
  • external-secrets-operator-1.1All versions (No fix recorded)
  • external-secrets-operator-1.2All versions (No fix recorded)
  • external-secrets-operator-1.3All versions (No fix recorded)
Wolfi4 products
  • external-secrets-operator-1.1All versions (No fix recorded)
  • external-secrets-operator-2.0All versions (No fix recorded)
  • external-secrets-operator-2.1All versions (No fix recorded)
  • external-secrets-operator-2.2< 2.2.0-r7
External-secrets2 products
Github.com/external-secrets1 product
  • external-secrets≥ 2.0.0, ≤ 2.2.0 | < 1.3.3-0.20260331202714-6800989bdc12

4 vendors · 20 products

References

6 links