CVE-2026-34984: Github.com/external secrets/external secrets External Secrets Operator Has DNS-based Vulnerability

HIGH
Advisory Identifier: GHSA-r2pg-r6h7-crf3
CVSS 6.5
CWE-200
Published
Advisory Summary

CVE-2026-34984 is a HIGH (CVSS 6.5) external secrets operator has dns-based vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/external secrets/external secrets libraries in the Go ecosystem. The issue involves external secrets operator has dns-based secret exfiltration via gethostbyname in external secrets v2 template engine. Remediation is available by upgrading affected packages to version 1.3.3-0.20260331202714-6800989bdc12.

CVE-2026-34984 at a Glance

CVE Identifier CVE-2026-34984
GHSA Identifier GHSA-r2pg-r6h7-crf3
Severity HIGH
CVSS v3.1 Base Score 6.5
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Github.com/external secrets/external secrets
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-34984

To remediate this vulnerability, upgrade all affected Github.com/external secrets/external secrets dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/external-secrets/external-secrets fixed: 1.3.3-0.20260331202714-6800989bdc12
Upgrade github.com/external-secrets/external-secrets to 1.3.3-0.20260331202714-6800989bdc12
github.com/external-secrets/external-secrets fixed: Latest secure release
Upgrade github.com/external-secrets/external-secrets to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/external-secrets/external-secrets

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-34984, inspect your project dependencies for Github.com/external secrets/external secrets:

inspect dependencies for github.com/external-secrets/external-secrets

Analyze the terminal output to locate any version of Github.com/external secrets/external secrets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.3-0.20260331202714-6800989bdc12), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Github.com/external secrets/external secrets, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## 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.

CVE-2026-34984 Affected Github.com/external secrets/external secrets Versions

2 component(s)
Fixed Versions:
1.3.3-0.20260331202714-6800989bdc12
Product / Package Ecosystem Affected Versions Fixed Version
github.com/external-secrets/external-secrets
Go
< 1.3.3-0.20260331202714-6800989bdc12
1.3.3-0.20260331202714-6800989bdc12
github.com/external-secrets/external-secrets
Go
≥ 2.0.0
≤ 2.2.0

References

Frequently Asked Questions

What is CVE-2026-34984?
CVE-2026-34984 is a security vulnerability in Github.com/external secrets/external secrets involving External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Github.com/external secrets/external secrets versions are affected?
Affected versions include releases prior to 1.3.3-0.20260331202714-6800989bdc12 across affected packages: github.com/external-secrets/external-secrets.
What version fixes CVE-2026-34984?
Upgrading to 1.3.3-0.20260331202714-6800989bdc12 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/external-secrets/external-secrets affected?
Yes, github.com/external-secrets/external-secrets is affected in releases prior to 1.3.3-0.20260331202714-6800989bdc12, Latest secure release. Upgrade your dependency to 1.3.3-0.20260331202714-6800989bdc12, Latest secure release or later.
What is the CVSS score of CVE-2026-34984?
CVE-2026-34984 has a CVSS v3.1 base score of 6.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-34984?
CVE-2026-34984 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Go dependencies for CVE-2026-34984?
Run the dependency tree command: 'inspect dependencies for github.com/external-secrets/external-secrets'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r2pg-r6h7-crf3",
  "modified" : "2026-04-28T04:20:16Z",
  "published" : "2026-04-13T16:36:36Z",
  "aliases" : [ "CVE-2026-34984" ],
  "summary" : "External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine",
  "details" : "## Summary\n\nThe 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.\n\n### Impact\nThis 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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/external-secrets/external-secrets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.3.3-0.20260331202714-6800989bdc12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/external-secrets/external-secrets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "last_affected" : "2.2.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/external-secrets/external-secrets/security/advisories/GHSA-r2pg-r6h7-crf3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34984"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/external-secrets/external-secrets/commit/6800989bdc12782ca2605d3b8bf7f2876a16551a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/external-secrets/external-secrets"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/external-secrets/external-secrets/releases/tag/v2.3.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-13T16:36:36Z",
    "nvd_published_at" : "2026-04-14T03:16:08Z"
  }
}