SCA: security update for github.com/external-secrets/external-secrets (GHSA-r2pg-r6h7-crf3)

high Tenable Self-Hosted Container Security Plugin ID 440455

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-34984)

Solution

Update the github.com/external-secrets/external-secrets library and its related packages to version 1.3.3-0.20260331202714-6800989bdc12 or later.

See Also

https://github.com/advisories/GHSA-r2pg-r6h7-crf3

Plugin Details

Severity: High

ID: 440455

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/16/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

CVSS Score Source: CVE-2026-34984

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 7.1

Threat Score: 4.9

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/13/2026

Vulnerability Publication Date: 4/13/2026

Reference Information

CVE: CVE-2026-34984

cwe: CWE-200