CVE-2025-23216: Argo CD does not scrub secret values from patch errors
(updated )
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.
References
- github.com/advisories/GHSA-47g2-qmh2-749v
- github.com/argoproj/argo-cd
- github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107
- github.com/argoproj/argo-cd/security/advisories/GHSA-47g2-qmh2-749v
- github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca
- github.com/argoproj/gitops-engine/security/advisories/GHSA-274v-mgcv-cm8j
- nvd.nist.gov/vuln/detail/CVE-2025-23216
Code Behaviors & Features
Detect and mitigate CVE-2025-23216 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →