Loading advisory.
Loading advisory.
Repository Credentials Race Condition Crashes Argo CD Server
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.
Published 2025-09-30 18:01 UTC · Modified 2026-08-24 10:25 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/argoproj/argo-cd/v2 | Go | >= 2.1.0, < 2.14.20 | 2.14.20 | go get github.com/argoproj/argo-cd/v2@v2.14.20 |
| github.com/argoproj/argo-cd/v3 | Go | >= 3.2.0-rc1, < 3.2.0-rc2 >= 3.1.0-rc1, < 3.1.8 >= 3.0.0-rc1, < 3.0.19 versions 3.2.0-rc1 | 3.2.0-rc2, 3.1.8, 3.0.19 | go get github.com/argoproj/argo-cd/v3@v3.2.0-rc2go get github.com/argoproj/argo-cd/v3@v3.1.8go get github.com/argoproj/argo-cd/v3@v3.0.19 |
| github.com/argoproj/argo-cd | Go | all versions | No patch yet | No command until a fix exists. |
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.
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.
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.
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.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.005 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.005 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.005 | v2026.06.15 |