CVE-2025-23216: Argo CD 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. 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.
References Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca
Other sources
Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. 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. The vulnerability is fixed in v2.13.4, v2.12.10, and v2.11.13.
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-23216?
CVE-2025-23216 is a high severity vulnerability that exposes sensitive secret values.
How do I fix CVE-2025-23216?
To fix CVE-2025-23216, upgrade to Argo CD versions 2.11.13, 2.12.10, or 2.13.4.
Who is affected by CVE-2025-23216?
Users with write access to the repository and running vulnerable versions of Argo CD are affected by CVE-2025-23216.
What are the affected versions for CVE-2025-23216?
The vulnerable versions of Argo CD are prior to 2.11.13, between 2.12.0 and 2.12.10, and between 2.13.0 and 2.13.4.
What type of information is exposed in CVE-2025-23216?
CVE-2025-23216 exposes secret values in error messages and the diff view when syncing invalid Kubernetes Secret resources.