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.
Published Jan 30, 2025 · Updated Jun 7, 2025
Affected packages
github.com/argoproj/argo-cd/v2
- Ecosystem
- Go
- Affected
- >= 2.13.0, < 2.13.4
- Fixed in
- 2.13.4
- Check
go list -m github.com/argoproj/argo-cd/v2
github.com/argoproj/argo-cd/v2
- Ecosystem
- Go
- Affected
- >= 2.12.0, < 2.12.10
- Fixed in
- 2.12.10
- Check
go list -m github.com/argoproj/argo-cd/v2
github.com/argoproj/argo-cd/v2
- Ecosystem
- Go
- Affected
- < 2.11.13
- Fixed in
- 2.11.13
- Check
go list -m github.com/argoproj/argo-cd/v2
github.com/argoproj/argo-cd
- Ecosystem
- Go
- Affected
- <= 1.8.7
- Fixed in
- No patched version yet
- Check
go list -m github.com/argoproj/argo-cd
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.
References
Fixed with commit https://github.com/argoproj/argo-cd/commit/6f5537bdf15ddbaa0f27a1a678632ff0743e4107 & https://github.com/argoproj/gitops-engine/commit/7e21b91e9d0f64104c8a661f3f390c5e6d73ddca
Credited to svghadi.
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://nvd.nist.gov/vuln/detail/CVE-2025-23216
- https://github.com/advisories/GHSA-47g2-qmh2-749v
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 entriesCVE-2026-77459
Argo CD: AppProject destination-namespace and resource restrictions bypassed by PreDelete/PostDelete resource hooks
critical9.9No fixOct 15, 2026CVE-2026-55797
Argo CD repo-server command injection via crafted SSH repository SOCKS5 proxy URL
high8.8No fixOct 9, 2026CVE-2026-45738
Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation
high7.3No fixMay 19, 2026CVE-2025-55191
Repository Credentials Race Condition Crashes Argo CD Server
medium6.5Sep 30, 2025CVE-2025-59531
Unauthenticated argocd-server panic via a malicious Bitbucket-Server webhook payload
high7.5No fixSep 30, 2025CVE-2025-59537
argo-cd vulnerable unauthenticated DoS via malformed Gogs webhook payload
high7.5No fixSep 30, 2025
