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

Advisory record · `GHSA-r2pg-r6h7-crf3`

- **Identifiers:** `GHSA-r2pg-r6h7-crf3` · `CVE-2026-34984` · `GO-2026-5602`
- **State:** Confirmed
- **Severity:** CVSS 7.1 High
- **Critical:** No
- **Weakness (CWE):** [CWE-200](https://cwe.mitre.org/data/definitions/200.html)
- **Tags:** [Information disclosure](https://agentprime.io/advisories/tag/info-disclosure.md)
- **Published:** 13 Apr 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 13 Apr 2026, 16:36 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/external-secrets/external-secrets` (Go): affected `<1.3.3-0.20260331202714-6800989bdc12 || >=2.0.0, <=2.2.0`; fixed in `1.3.3-0.20260331202714-6800989bdc12`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The External Secrets Operator Go package github.com/external-secrets/external-secrets is affected in versions before 1.3.3-0.20260331202714-6800989bdc12 and in versions from 2.0.0 through 2.2.0. An attacker who can create or update templated ExternalSecret resources can use the template engine's getHostByName function to make the controller perform DNS lookups containing secret-derived values, leaking secret data through DNS. Upgrade to 1.3.3-0.20260331202714-6800989bdc12 or later. The source gives no workaround beyond restricting who can author templated ExternalSecret resources.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.1 High, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0027, the 19th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:13 UTC: First seen by agentprime
- 31 Oct 2026, 14:13 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-r2pg-r6h7-crf3)

## Sources

- [GitHub Advisory Database: GHSA-r2pg-r6h7-crf3](https://github.com/advisories/GHSA-r2pg-r6h7-crf3)
- [OSV: GHSA-r2pg-r6h7-crf3](https://osv.dev/vulnerability/GHSA-r2pg-r6h7-crf3)
- <https://github.com/external-secrets/external-secrets/security/advisories/GHSA-r2pg-r6h7-crf3>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-34984>
- <https://github.com/external-secrets/external-secrets/commit/6800989bdc12782ca2605d3b8bf7f2876a16551a>
- <https://github.com/external-secrets/external-secrets>
- <https://github.com/external-secrets/external-secrets/releases/tag/v2.3.0>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-r2pg-r6h7-crf3>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-r2pg-r6h7-crf3/>. Everything for agents: <https://agentprime.io/llms.txt>.
