CVE-2025-71425
JSON

8.5high

Contrast before 1.8.1 Information Disclosure via Logging

Severity
8.5high CVSS:4.0 by VulnCheck
Exploit likelihood
0.19% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-h5f8-crrq-4pw8GO-2025-3718

Description

Contrast (Edgeless Systems) before 1.8.1 logs the workload secret to stderr, and thus to Kubernetes logs, when the Contrast initializer is configured with CONTRAST_LOG_LEVEL set to info or debug. Because info is the default, all installations that do not customize the initializer log level are affected. This exposes workload secrets — normally accessible only to the Contrast Coordinator, the initializer, the seedshare owner, and the workload owner — to Kubernetes users with get or list permission on pods/logs and to anyone with read access to the Kubernetes log storage, such as the cloud provider. Deployments that do not use workload secrets are unaffected.

Affected

Product or packageVersionsReported by
edgelesssys contrastbefore 1.8.1
Not affected: 1.8.1
CVE List
github.com/edgelesssys/contrast (Go)before 1.8.1GitHub Advisory Database, Go Vulnerability Database

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
VulnCheck7.3high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub7.3high CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Contrast (Edgeless Systems) before 1.8.1 logs the workload secret to stderr, and thus to Kubernetes logs, when the Contrast initializer is configured with CONTRAST_LOG_LEVEL set to info or debug. Because info is the default, all installations that do not customize the initializer log level are affected. This exposes workload secrets — normally accessible only to the Contrast Coordinator, the initializer, the seedshare owner, and the workload owner — to Kubernetes users with get or list permission on pods/logs and to anyone with read access to the Kubernetes log storage, such as the cloud provider. Deployments that do not use workload secrets are unaffected.

GitHub Advisory Database
Impact

When the Contrast initializer is configured with a CONTRAST_LOG_LEVEL of info or debug, the workload secret is logged to stderr and written to Kubernetes logs.

Since info is the default setting, this affects all Contrast installations that don't customize their initializers' log level.

The following audiences are intended to have access to workload secrets (see https://docs.edgeless.systems/contrast/1.7/architecture/secrets#workload-secrets):

  • Contrast Coordinator (can derive all workload secrets)
  • Contrast Initializer (obtains only the secret configured in the manifest)
  • Seedshare owner (can derive all workload secrets)
  • Workload owner (can update manifests to obtain secrets)

This vulnerability allows the following parties unintended access to workload secrets issued by a Coordinator:

  • Kubernetes users with get or list permission on pods/logs.
  • Others with read access to the Kubernetes log storage (most notably, the cloud provider).

This vulnerability does not affect scenarios where workload secrets are not used by the application (directly or with secure persistence). Applications designed for workload owner exclusion can't use workload secrets and are thus unaffected.

Patches

N/A

Workarounds

This vulnerability can be mitigated by adding an environment variable CONTRAST_LOG_LEVEL=warn to the initializer after running contrast generate, and then running contrast generate again.

References

N/A

Go Vulnerability Database

Contrast workload secrets leak to logs on INFO level in github.com/edgelesssys/contrast

NVD (es)

Contrast (Edgeless Systems) anterior a 1.8.1 registra el secreto de la carga de trabajo en stderr y, por lo tanto, en los registros de Kubernetes, cuando el inicializador de Contrast está configurado con CONTRAST_LOG_LEVEL establecido en 'info' o 'debug'. Dado que 'info' es el valor predeterminado, todas las instalaciones que no personalizan el nivel de registro del inicializador se ven afectadas. Esto expone los secretos de la carga de trabajo -normalmente accesibles solo para el Coordinador de Contrast, el inicializador, el propietario de seedshare y el propietario de la carga de trabajo- a los usuarios de Kubernetes con permiso de 'get' o 'list' en 'pods/logs' y a cualquier persona con acceso de lectura al almacenamiento de registros de Kubernetes, como el proveedor de la nube. Las implementaciones que no utilizan secretos de carga de trabajo no se ven afectadas.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-71425 changed 2026-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-h5f8-crrq-4pw8 changed 2026-09-27CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3718 changed 2026-09-27CC-BY-4.0
NVDCVE-2025-71425 changed 2026-10-14Public domain