Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/external-secrets/external-secrets
  4. ›
  5. CVE-2026-34984

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

April 13, 2026 (updated April 28, 2026)

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2026-34984 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.3-0.20260331202714-6800989bdc12, all versions starting from 2.0.0 up to 2.2.0

Fixed versions

  • 1.3.3-0.20260331202714-6800989bdc12

Solution

Upgrade to version 1.3.3-0.20260331202714-6800989bdc12 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/external-secrets/external-secrets/CVE-2026-34984.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 16 May 2026 12:18:50 +0000.