GHSA-274v-mgcv-cm8j: Argo CD GitOps Engine does not scrub secret values from patch errors
Impact A vulnerability was discovered in Argo CD that exposed secret values in error messages and the diff view when an invalid Kubernetes Secret resource was synced from a repository. The vulnerability assumes the user has write access to the repository and can exploit it, either intentionally or unintentionally, by committing an invalid Secret to repository and triggering a Sync.
Published Jan 30, 2025 · Updated Dec 20, 2025
Affected packages
github.com/argoproj/gitops-engine
- Ecosystem
- Go
- Affected
- >= 0.7.2, <= 0.7.3
- Fixed in
- No patched version yet
- Check
go list -m github.com/argoproj/gitops-engine
github.com/argoproj/gitops-engine
- Ecosystem
- Go
- Affected
- < 0.7.1-0.20250129155113-4c6e03c463141
- Fixed in
- 0.7.1-0.20250129155113-4c6e03c463141
- Check
go list -m github.com/argoproj/gitops-engine
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A vulnerability was discovered in Argo CD that exposed secret values in error messages and the diff view when an invalid Kubernetes Secret resource was synced from a repository.
The vulnerability assumes the user has write access to the repository and can exploit it, either intentionally or unintentionally, by committing an invalid Secret to repository and triggering a Sync. Once exploited, any user with read access to Argo CD can view the exposed secret data.
Patches
A patch for this vulnerability is available in the following Argo CD versions:
- v2.13.4
- v2.12.10
- v2.11.13
Workarounds
There is no workaround other than upgrading.
Resources
Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca
Credited to svghadi, kbsteere, xnox.
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-47g2-qmh2-749v
- https://github.com/argoproj/gitops-engine/security/advisories/GHSA-274v-mgcv-cm8j
- https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107
- https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca
- https://pkg.go.dev/vuln/GO-2025-3437
- https://github.com/advisories/GHSA-274v-mgcv-cm8j
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
