GHSA-vxg3-w9rv-rhr2: Contrast leaks workload secrets to logs on INFO level
This is the same vulnerability as https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8. The original vulnerability had been fixed for release v1.8.1, but the fix was not ported to the main branch and thus not present in releases v1.9.0 ff. Below is a brief repetition of the relevant sections from the first GHSA, where you can find the full details.
Published Aug 28, 2025
Affected packages
github.com/edgelesssys/contrast
- Ecosystem
- Go
- Affected
- >= 1.9.0, <= 1.12.1
- Fixed in
- 1.12.2
- Check
go list -m github.com/edgelesssys/contrast
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
This is the same vulnerability as https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8. The original vulnerability had been fixed for release v1.8.1, but the fix was not ported to the main branch and thus not present in releases v1.9.0 ff.
Below is a brief repetition of the relevant sections from the first GHSA, where you can find the full details.
Impact
- Workload secrets are visible to Kubernetes users with
getorlistpermission onpods/logs, and thus need to be considered compromised. - Since workload secrets are used for encrypted storage and Vault integration, those need to be considered compromised, too.
Patches
Patches:
- https://github.com/edgelesssys/contrast/commit/5a5512c4af63c17bb66331e7bd2768a863b2f225
- https://github.com/edgelesssys/contrast/commit/cf58026b30c43fe7df91eac5322da02e1725d554
The patches are released with v1.12.2 and v1.13.0 (not yet published). Since the secrets are compromised, Contrast needs to be initialized from scratch.
Workarounds
Existing workload secrets are compromised. The Contrast cluster needs to be newly initialized, and logging needs to be turned off.
References
First occurrence:
- https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8
We are defining a process for handling GHSAs that should prevent such regressions in the future:
- https://github.com/edgelesssys/contrast/pull/1739
Credited to katexochen.
References
- https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8
- https://github.com/edgelesssys/contrast/security/advisories/GHSA-vxg3-w9rv-rhr2
- https://github.com/edgelesssys/contrast/pull/1739
- https://github.com/edgelesssys/contrast/commit/5a5512c4af63c17bb66331e7bd2768a863b2f225
- https://github.com/edgelesssys/contrast/commit/cf58026b30c43fe7df91eac5322da02e1725d554
- https://github.com/advisories/GHSA-vxg3-w9rv-rhr2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesGHSA-3ccm-4qq2-5wrp
Constrata's coordinator transit engine `ciphertextContainer.UnmarshalJSON` panics on attacker-controlled short ciphertexts
medium4.3Jul 1, 2026GHSA-6c87-g9pw-78fx
Contrast's Imagepuller registryFor uses unanchored suffix matching, leaking auth credentials and trusted CA configuration to sibling-domain registries
low3.7Jul 1, 2026GHSA-rh99-wc69-c255
Contras Affected by CopyFile Policy Subversion via Symlinks
high8.1Apr 30, 2026GHSA-g9ww-x58f-9g6m
Contrast BadAML injection allows arbitrary code execution
high8.4Mar 26, 2026GHSA-f5p4-p5q5-jv3h
Contrast has insecure LUKS2 persistent storage partitions may be opened and used
medium5.7Oct 28, 2025GHSA-phhq-63jg-fp7r
Contrast vulnerability allows arbitrary host data Injection into container VOLUME mount points
low3.5Jul 9, 2025
