CVE-2025-55191: Repository Credentials Race Condition Crashes Argo CD Server
Summary A race condition in the repository credentials handler can cause the Argo CD server to panic and crash when concurrent operations are performed on the same repository URL. Details The vulnerability is located in numerous repository related handlers in the util/db/repositorysecrets.go file. For example, in the secretToRepoCred function.
Published Sep 30, 2025 · Updated Oct 23, 2025
Affected packages
github.com/argoproj/argo-cd/v2
- Ecosystem
- Go
- Affected
- >= 2.1.0, <= 2.14.19
- Fixed in
- 2.14.20
- Check
go list -m github.com/argoproj/argo-cd/v2
github.com/argoproj/argo-cd/v3
- Ecosystem
- Go
- Affected
- = 3.2.0-rc1
- Fixed in
- 3.2.0-rc2
- Check
go list -m github.com/argoproj/argo-cd/v3
github.com/argoproj/argo-cd/v3
- Ecosystem
- Go
- Affected
- >= 3.1.0-rc1, <= 3.1.7
- Fixed in
- 3.1.8
- Check
go list -m github.com/argoproj/argo-cd/v3
github.com/argoproj/argo-cd/v3
- Ecosystem
- Go
- Affected
- >= 3.0.0-rc1, <= 3.0.18
- Fixed in
- 3.0.19
- Check
go list -m github.com/argoproj/argo-cd/v3
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A race condition in the repository credentials handler can cause the Argo CD server to panic and crash when concurrent operations are performed on the same repository URL.
Details
The vulnerability is located in numerous repository related handlers in the util/db/repository_secrets.go file. For example, in the secretToRepoCred function. The issue manifests as a concurrent map access panic:
concurrent map read and map write
...
goroutine 1104 [running]:
github.com/argoproj/argo-cd/v2/util/db.(*secretsRepositoryBackend).secretToRepoCred(0xc000e50ea8?, 0xc000c65540)
/go/src/github.com/argoproj/argo-cd/util/db/repository_secrets.go:404 +0x31eThe race condition occurs due to:
- Concurrent repository credential operations (create/update/delete) accessing the same map
- Kubernetes informer re-syncs happening simultaneously
- Background watchers updating the same secret data
- No mutex protection for map access
A valid API token with repositories resource permissions (create, update, or delete actions) is required to trigger the race condition.
Impact
This vulnerability causes the entire Argo CD server to crash and become unavailable. Attackers can repeatedly and continuously trigger the race condition to maintain a denial-of-service state, disrupting all GitOps operations. Default ArgoCD configuration is vulnerable.
The affected code was originally introduced in PR #6103 and released in v2.1.0.
This data race was addressed by deep-copying the Secret objects before reading/writing.
Credits
This vulnerability was found, reported and fixed by:
@thevilledev
The Argo team would like to thank him for his responsible disclosure and constructive communications during the resolve of this issue.
Credited to thevilledev.
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-g88p-r42r-ppp9
- https://github.com/argoproj/argo-cd/pull/6103
- https://github.com/argoproj/argo-cd/commit/701bc50d01c752cad96185f848088d287a97c7b7
- https://nvd.nist.gov/vuln/detail/CVE-2025-55191
- https://pkg.go.dev/vuln/GO-2025-3994
- https://github.com/advisories/GHSA-g88p-r42r-ppp9
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-45737
Argo CD: Kubernetes Secret Extraction via ArgoCD ServerSideDiff via sensitive annotations
medium6.3May 19, 2026CVE-2026-45738
Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation
high7.3No fixMay 19, 2026CVE-2026-42880
ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction
critical9.6May 7, 2026CVE-2025-59531
Unauthenticated argocd-server panic via a malicious Bitbucket-Server webhook payload
high7.5No fixSep 30, 2025
