{"id":"CVE-2025-55191","aliases":["CVE-2025-55191","GHSA-g88p-r42r-ppp9","BIT-ARGO-CD-2025-55191","GO-2025-3994"],"related":[],"kind":"vulnerability","state":"published","title":"Repository Credentials Race Condition Crashes Argo CD Server","summary":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions between 2.1.0 and 2.14.19, 3.2.0-rc1, 3.1.0-rc1 through 3.1.7, and 3.0.0-rc1 through 3.0.18 contain a race condition in the repository credentials handler that 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. 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. This issue is fixed in versions 2.14.20, 3.2.0-rc2, 3.1.8 and 3.0.19.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions between 2.1.0 and 2.14.19, 3.2.0-rc1, 3.1.0-rc1 through 3.1.7, and 3.0.0-rc1 through 3.0.18 contain a race condition in the repository credentials handler that 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. 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. This issue is fixed in versions 2.14.20, 3.2.0-rc2, 3.1.8 and 3.0.19.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nA 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.\n\n### Details\nThe 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:\n\n```\nconcurrent map read and map write\n...\ngoroutine 1104 [running]:\ngithub.com/argoproj/argo-cd/v2/util/db.(*secretsRepositoryBackend).secretToRepoCred(0xc000e50ea8?, 0xc000c65540)\n        /go/src/github.com/argoproj/argo-cd/util/db/repository_secrets.go:404 +0x31e\n```\n\nThe race condition occurs due to:\n1. Concurrent repository credential operations (create/update/delete) accessing the same map\n2. Kubernetes informer re-syncs happening simultaneously\n3. Background watchers updating the same secret data\n4. No mutex protection for map access\n\nA valid API token with `repositories` resource permissions (`create`, `update`, or `delete` actions) is required to trigger the race condition.\n\n### Impact\n\nThis 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.\n\nThe affected code was originally introduced in [PR #6103](https://github.com/argoproj/argo-cd/pull/6103) and released in [v2.1.0](https://github.com/argoproj/argo-cd/releases/tag/v2.1.0).\n\nThis data race was addressed by deep-copying the `Secret` objects before reading/writing.\n\n### Credits\n\nThis vulnerability was found, reported and fixed by:\n\n@thevilledev\n\nThe Argo team would like to thank him for his responsible disclosure and constructive communications during the resolve of this issue.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Repository Credentials Race Condition Crashes Argo CD Server in github.com/argoproj/argo-cd","format":"markdown","source":"go"},{"lang":"es","text":"Argo CD es una herramienta de entrega continua declarativa, GitOps para Kubernetes. Las versiones entre 2.1.0 y 2.14.19, 3.2.0-rc1, 3.1.0-rc1 hasta 3.1.7, y 3.0.0-rc1 hasta 3.0.18 contienen una condición de carrera en el manejador de credenciales del repositorio que puede causar que el servidor Argo CD entre en pánico y falle cuando se realizan operaciones concurrentes en la misma URL del repositorio. La vulnerabilidad se encuentra en numerosos manejadores relacionados con el repositorio en el archivo util/db/repository_secrets.go. Se requiere un token de API válido con permisos de recurso de repositorios (acciones de creación, actualización o eliminación) para activar la condición de carrera. Esta vulnerabilidad causa que todo el servidor Argo CD falle y quede no disponible. Los atacantes pueden activar repetida y continuamente la condición de carrera para mantener un estado de denegación de servicio, interrumpiendo todas las operaciones GitOps. Este problema se soluciona en las versiones 2.14.20, 3.2.0-rc2, 3.1.8 y 3.0.19.","source":"nvd"},{"lang":"en","text":"Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. Versions between 2.1.0 and 2.14.19, 3.2.0, 3.1.0 through 3.1.7, and 3.0.0 through 3.0.18 contain a race condition in the repository credentials handler that 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. 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. This issue is fixed in versions 2.14.20, 3.1.8 and 3.0.19.","format":"markdown","source":"bitnami"}],"published":"2025-09-30T18:01:48.000Z","modified":"2026-09-08T08:45:38.062Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":">= 2.1.0, < 2.14.20","status":"affected"},{"version":"= 3.2.0-rc1","status":"affected"},{"version":">= 3.1.0-rc1, < 3.1.8","status":"affected"},{"version":">= 3.0.0-rc1, < 3.0.19","status":"affected"}],"vendor":"argoproj","product":"argo-cd","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"2.14.20"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.2.0-rc1","status":"affected","fixed":"3.2.0-rc2"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","purl":"pkg:golang/github.com/argoproj/argo-cd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.1.0-rc1","status":"affected","fixed":"3.1.8"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","purl":"pkg:golang/github.com/argoproj/argo-cd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0-rc1","status":"affected","fixed":"3.0.19"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","purl":"pkg:golang/github.com/argoproj/argo-cd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd","purl":"pkg:golang/github.com/argoproj/argo-cd","source":"go"},{"ranges":[{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"2.14.20"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v2","purl":"pkg:golang/github.com/argoproj/argo-cd/v2","source":"go"},{"ranges":[{"type":"semver","introduced":"3.0.0-rc1","status":"affected","fixed":"3.0.19"},{"type":"semver","introduced":"3.1.0-rc1","status":"affected","fixed":"3.1.8"},{"type":"semver","introduced":"3.2.0-rc1","status":"affected","fixed":"3.2.0-rc2"}],"ecosystem":"Go","package":"github.com/argoproj/argo-cd/v3","purl":"pkg:golang/github.com/argoproj/argo-cd/v3","source":"go"},{"ranges":[{"status":"affected","introduced":"2.1.0","fixed":"2.14.20"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.19"},{"status":"affected","introduced":"3.1.0","fixed":"3.1.8"},{"status":"affected","version":"3.2.0"}],"vendor":"argoproj","product":"argo_cd","cpe":"cpe:2.3:a:argoproj:argo_cd:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"2.1.0","status":"affected","fixed":"2.14.20"},{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.0.19"},{"type":"semver","introduced":"3.1.0","status":"affected","fixed":"3.1.8"}],"ecosystem":"Bitnami","package":"argo-cd","purl":"pkg:bitnami/argo-cd","source":"bitnami"}],"references":[{"url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-g88p-r42r-ppp9","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-cd/pull/6103","tags":["fix","issue-tracking","report","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/argoproj/argo-cd/commit/701bc50d01c752cad96185f848088d287a97c7b7","tags":["fix","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55191","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/argoproj/argo-cd","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3994","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-06T18:32:25.830Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-55191","url":"https://www.cve.org/CVERecord?id=CVE-2025-55191","licence":"CVE Terms of Use","modified":"2025-10-06T18:32:34.110Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g88p-r42r-ppp9","url":"https://github.com/advisories/GHSA-g88p-r42r-ppp9","licence":"CC-BY-4.0","modified":"2026-08-24T10:25:33.348Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3994","url":"https://pkg.go.dev/vuln/GO-2025-3994","licence":"CC-BY-4.0","modified":"2026-08-24T10:25:33.348Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-55191","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55191","licence":"Public domain","modified":"2026-06-17T09:41:25.717Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ARGO-CD-2025-55191","url":"https://osv.dev/vulnerability/BIT-ARGO-CD-2025-55191","licence":"Apache-2.0","modified":"2026-09-08T08:45:38.062Z"}],"updatedAt":"2026-11-25T22:59:05.373Z","epss":{"score":0.00483,"percentile":0.43286,"date":"2026-12-01T12:00:22.000Z"}}