Vulnerability GHSA-r2pg-r6h7-crf3

Medium Risk
MEDIUM RISK
CVSS Score: 6.5
Score Range: 4.0–6.9
Medium severity vulnerabilities (CVSS 4.0–6.9). Important issues that meaningfully reduce security confidence.
5 months ago
April 13, 2026 at 04:36 PM UTC
External Secrets Operator has DNS-based secret exfiltration via getHostByName in External Secrets v2 template engine
v0.1.0-esoctl - v1.3.2
v0.1.0-esoctl - v1.3.2

Summary

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

Details

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.

Timeline

Published
5 months ago
April 13, 2026 at 04:36 PM UTC
Last Modified
26 days ago
September 10, 2026 at 03:51 AM UTC