{"id":"CVE-2025-71425","aliases":["CVE-2025-71425","GHSA-h5f8-crrq-4pw8","GO-2025-3718"],"related":[],"kind":"vulnerability","state":"published","title":"Contrast before 1.8.1 Information Disclosure via Logging","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nWhen 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. \n\nSince `info` is the default setting, this affects all Contrast installations that don't customize their initializers' log level.\n\nThe following audiences are **intended** to have access to workload secrets (see https://docs.edgeless.systems/contrast/1.7/architecture/secrets#workload-secrets):\n\n* Contrast Coordinator (can derive all workload secrets)\n* Contrast Initializer (obtains only the secret configured in the manifest)\n* Seedshare owner (can derive all workload secrets)\n* Workload owner (can update manifests to obtain secrets)\n\nThis vulnerability allows the following parties **unintended access** to workload secrets issued by a Coordinator:\n\n* Kubernetes users with `get` or `list` permission on `pods/logs`.\n* Others with read access to the Kubernetes log storage (most notably, the cloud provider).\n\nThis vulnerability **does not affect** scenarios where workload secrets are not used by the application (directly or with [secure persistence](https://docs.edgeless.systems/contrast/1.7/architecture/secrets#secure-persistence)). Applications designed for workload owner exclusion can't use workload secrets and are thus unaffected.\n\n### Patches\n\nN/A\n\n### Workarounds\n\nThis 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.\n\n### References\n\nN/A","format":"markdown","source":"ghsa"},{"lang":"en","text":"Contrast workload secrets leak to logs on INFO level in github.com/edgelesssys/contrast","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-05-28T14:40:25.000Z","modified":"2026-10-14T13:10:00.187Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":7.3,"rating":"HIGH"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.8.1","status":"affected"},{"type":"semver","version":"1.8.1","status":"unaffected"}],"vendor":"edgelesssys","product":"contrast","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.1"}],"ecosystem":"Go","package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.1"}],"ecosystem":"Go","package":"github.com/edgelesssys/contrast","purl":"pkg:golang/github.com/edgelesssys/contrast","source":"go"}],"references":[{"url":"https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8","tags":["advisory","vendor-advisory","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://www.vulncheck.com/advisories/contrast-before-1.8.1-information-disclosure-via-logging","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/edgelesssys/contrast","tags":["package"],"sources":["ghsa"]}],"credits":["burgerdev","katexochen","thomasten"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-30T17:24:53.076Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-71425","url":"https://www.cve.org/CVERecord?id=CVE-2025-71425","licence":"CVE Terms of Use","modified":"2026-10-08T15:21:38.434Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h5f8-crrq-4pw8","url":"https://github.com/advisories/GHSA-h5f8-crrq-4pw8","licence":"CC-BY-4.0","modified":"2026-09-27T11:55:47.067Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3718","url":"https://pkg.go.dev/vuln/GO-2025-3718","licence":"CC-BY-4.0","modified":"2026-09-27T11:55:47.067Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-71425","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71425","licence":"Public domain","modified":"2026-10-14T13:10:00.187Z"}],"updatedAt":"2026-11-25T22:59:12.518Z","epss":{"score":0.0019,"percentile":0.09035,"date":"2026-12-01T12:00:22.000Z"}}