{"answers":{"affected":"5 open source packages ship an affected version, including github.com/external-secrets/external-secrets. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-34984 in the wild and no public exploit code.","fix":"Upgrade github.com/external-secrets/external-secrets to 1.3.3-0.20260331202714-6800989bdc12 or later.","what":"CVE-2026-34984 is a high-severity vulnerability in external-secrets, published on 14 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-34984 and fix it if it is affected.\n\nWhat it is: CVE-2026-34984 is a high-severity vulnerability in external-secrets, published on 14 Apr 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-34984 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/external-secrets/external-secrets (Go): affected all versions; fixed in 1.3.3-0.20260331202714-6800989bdc12\n- github.com/external-secrets/external-secrets (Go): affected all versions; fixed in 1.3.3-0.20260331202714-6800989bdc12\n- github.com/external-secrets/external-secrets (Go): affected all versions; fixed in 1.3.3-0.20260331202714-6800989bdc12\n- github.com/external-secrets/external-secrets (Go): affected from 2.0.0 up to 2.2.0; no fix listed\n- github.com/external-secrets/external-secrets (Go): affected from 2.0.0 up to 2.2.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-34984/ (Markdown: https://insights.sbomify.com/CVE-2026-34984/index.md)","id":"CVE-2026-34984","markdown":"https://insights.sbomify.com/CVE-2026-34984/index.md","name":"CVE-2026-34984","record":{"aliases":["GHSA-r2pg-r6h7-crf3","GO-2026-5602","MINI-5c9j-974f-562w","MINI-xx2p-8qq7-9wfq"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Kubernetes secrets operator","requires_auth":"low_privilege","summary":"Attackers can exfiltrate secret data via DNS queries by exploiting the getHostByName function in the External Secrets Operator template engine.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"external_secrets_operator","vendor":"external-secrets"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"External Secrets Operator reads information from a third-party service and automatically injects the values as Kubernetes Secrets. Versions 2.2.0 and below contain a vulnerability in runtime/template/v2/template.go where the v2 template engine removes env and expandenv from Sprig's TxtFuncMap() but leaves the getHostByName function accessible to user-controlled templates. Since ESO executes templates within the controller process, an attacker who can create or update templated ExternalSecret resources can invoke controller-side DNS lookups using secret-derived values. This creates a DNS exfiltration primitive, allowing fetched secret material to be leaked via DNS queries without requiring direct outbound network access from the attacker's workload. The impact is a confidentiality issue, particularly in environments where untrusted or lower-trust users can author templated ExternalSecret resources and the controller has DNS resolution capability. This issue has been fixed in version 2.3.0.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"External Secrets Operator has DNS exfiltration via getHostByName in its v2 template engine","id":"CVE-2026-34984","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"LORIS has incorrect access checks in media module","id":"CVE-2026-34985"},"packages":[{"ecosystem":"Go","fixed":["1.3.3-0.20260331202714-6800989bdc12"],"introduced":["0"],"last_affected":[],"package":"github.com/external-secrets/external-secrets","purl":null,"source":"GHSA-r2pg-r6h7-crf3"},{"ecosystem":"Go","fixed":["1.3.3-0.20260331202714-6800989bdc12"],"introduced":["0"],"last_affected":[],"package":"github.com/external-secrets/external-secrets","purl":"pkg:golang/github.com/external-secrets/external-secrets","source":"GHSA-r2pg-r6h7-crf3"},{"ecosystem":"Go","fixed":["1.3.3-0.20260331202714-6800989bdc12"],"introduced":["0"],"last_affected":[],"package":"github.com/external-secrets/external-secrets","purl":"pkg:golang/github.com/external-secrets/external-secrets","source":"GO-2026-5602"},{"ecosystem":"Go","fixed":[],"introduced":["2.0.0"],"last_affected":["2.2.0"],"package":"github.com/external-secrets/external-secrets","purl":null,"source":"GHSA-r2pg-r6h7-crf3"},{"ecosystem":"Go","fixed":[],"introduced":["2.0.0"],"last_affected":["2.2.0"],"package":"github.com/external-secrets/external-secrets","purl":"pkg:golang/github.com/external-secrets/external-secrets","source":"GHSA-r2pg-r6h7-crf3"}],"prev":{"headline":"Wasmtime has a use-after-free bug after cloning `wasmtime::Linker`","id":"CVE-2026-34983"},"products":["external-secrets"],"published":"2026-04-14","related":[{"cvss_score":9.8,"headline":"Missing authorization in n/a","id":"CVE-2024-36540","kev_date_added":null,"published":"2024-07-24"},{"cvss_score":9.3,"headline":"External Secrets Operator insecurely retrieves secrets through the getSecretKey templating function","id":"CVE-2026-22822","kev_date_added":null,"published":"2026-01-21"},{"cvss_score":8.3,"headline":"External Secrets Operator vulnerable to privilege escalation","id":"CVE-2024-45041","kev_date_added":null,"published":"2024-09-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-14","vendors":["external-secrets"]},"summary":"Attackers can exfiltrate secret data via DNS queries by exploiting the getHostByName function in the External Secrets Operator template engine.","url":"https://insights.sbomify.com/CVE-2026-34984/"}