Argo CD GitOps Engine does not scrub secret values from patch errors
Moderate severity
GitHub Reviewed
Published
Jan 30, 2025
in
argoproj/gitops-engine
•
Updated Jun 17, 2025
Package
Affected versions
>= 0.7.2, <= 0.7.3
< 0.7.1-0.20250129155113-4c6e03c463141
Patched versions
0.7.1-0.20250129155113-4c6e03c463141
Description
Published to the GitHub Advisory Database
Jan 30, 2025
Reviewed
Jan 30, 2025
Last updated
Jun 17, 2025
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:
Workarounds
There is no workaround other than upgrading.
References
Fixed with commit argoproj/argo-cd@6f5537b & argoproj/gitops-engine@7e21b91
References