CVE-2025-55191 — Vulnerability in argoproj/argo-cd/v3 — CVE Details
Repository Credentials Race Condition Crashes Argo CD Server
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.73%). Schedule for your next planned update.
Does your project use an affected github.com/argoproj/argo-cd/v3 version?
Paste your go.sum to check it for CVE-2025-55191 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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 +0x31e
The 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.
Advisory Timeline
- First published September 30, 2025 (422 days ago).
- Last revised August 24, 2026 — 328 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
go get github.com/argoproj/argo-cd/v3@v3.1.8
go get github.com/argoproj/argo-cd/v3@v3.2.0-rc2
go get github.com/argoproj/argo-cd/v2@v2.14.20
go get github.com/argoproj/argo-cd/v3@v3.0.19
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: Go (2).
| Package | Fixed In |
|---|---|
| github.com/argoproj/argo-cd/v3 Go · Affected: All versions | 3.1.8 |
| github.com/argoproj/argo-cd/v3 Go · Affected: 3.2.0-rc1 | 3.2.0-rc2 |
| github.com/argoproj/argo-cd/v2 Go · Affected: All versions | 2.14.20 |
| github.com/argoproj/argo-cd/v3 Go · Affected: All versions | 3.0.19 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-362
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/argoproj/argo-cd/security/advisories/GHSA-g88p-r42r-ppp9WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-55191ADVISORY
- https://github.com/argoproj/argo-cd/pull/6103WEB
- https://github.com/argoproj/argo-cd/commit/701bc50d01c752cad96185f848088d287a97c7b7WEB
- https://github.com/argoproj/argo-cdPACKAGE
- https://pkg.go.dev/vuln/GO-2025-3994WEB
Frequently Asked Questions
- What is CVE-2025-55191?
- Repository Credentials Race Condition Crashes Argo CD Server. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.5/10).
- How do I check if my project is affected by CVE-2025-55191?
- CVE-2025-55191 affects github.com/argoproj/argo-cd/v3 and github.com/argoproj/argo-cd/v2. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-55191 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is an above-median EPSS score — 50% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2025-47933
Argo CD allows cross-site scripting on repositories page in github.com/argoproj/argo-cd
- CVE-2025-55190
Argo CD's Project API Token Exposes Repository Credentials in github.com/argoproj/argo-cd
- CVE-2025-59531
Unauthenticated argocd-server panic via a malicious Bitbucket-Server webhook payload in github.com/argoproj/argo-cd
- CVE-2025-59538
Argo CD Unauthenticated Remote DoS via malformed Azure DevOps git.push webhook in github.com/argoproj/argo-cd
- CVE-2025-59537
argo-cd vulnerable unauthenticated DoS via malformed Gogs webhook payload in github.com/argoproj/argo-cd
- CVE-2026-42880
ArgoCD ServerSideDiff is vulnerable to Kubernetes Secret Extraction in github.com/argoproj/argo-cd
- CVE-2026-45738
Argo CD: Stored XSS in application link annotations enables developer-to-admin privilege escalation in github.com/argoproj/argo-cd
- CVE-2026-45737
Argo CD: Kubernetes Secret Extraction via ArgoCD ServerSideDiff via sensitive annotations in github.com/argoproj/argo-cd