PT-2026-32571 · Unknown · External Secrets Operator
Kodareef5
·
Published
2026-04-13
·
Updated
2026-04-15
·
CVE-2026-34984
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
External Secrets Operator versions prior to 2.3.0
Description
The v2 template engine in
runtime/template/v2/template.go removes env and expandenv from TxtFuncMap() but leaves the getHostByName() function accessible to user-controlled templates. Since the controller executes templates within its own process, an attacker capable of creating or updating templated ExternalSecret resources can trigger controller-side DNS lookups using secret-derived values. This enables a DNS exfiltration primitive, allowing secret material to be leaked via DNS queries without requiring direct outbound network access from the attacker's workload. This results in a confidentiality issue in environments where lower-trust users can author these resources and the controller has DNS resolution capabilities.Recommendations
Update to version 2.3.0.
Restrict the ability of untrusted or lower-trust users to create or update templated ExternalSecret resources.
Fix
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
External Secrets Operator