CVE-2025-71425 Contrast before 1.8.1 Information Disclosure via Logging

High 8.5 Published Updated

Attackers with Kubernetes log access can read workload secrets because Contrast logs them to stderr by default.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-71425?

CVE-2025-71425 is a high-severity vulnerability in edgelesssys contrast, published on 27 Sep 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-532

Which versions are affected by CVE-2025-71425?

3 open source packages ship an affected version, including github.com/edgelesssys/contrast.

PackageAffectedFixed in
github.com/edgelesssys/contrast GoAll versions1.8.1
github.com/edgelesssys/contrast GoAll versions1.8.1
github.com/edgelesssys/contrast GoAll versions1.8.1

How do I fix CVE-2025-71425?

Upgrade github.com/edgelesssys/contrast to 1.8.1 or later.

Is CVE-2025-71425 being exploited?

There is no known exploitation of CVE-2025-71425 in the wild and no public exploit code.

Sources

Also known as GHSA-7f88-pr8w-xgw6, GHSA-h5f8-crrq-4pw8, GO-2025-3718.

Is CVE-2025-71425 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free