Loading...
Skip to main content

CVE-2025-55190 — Vulnerability in github.com/argoproj/argo-cd/v2 —...

CRITICAL

Argo CD's Project API Token Exposes Repository Credentials

Published September 4, 2025Updated September 10, 2026Source: osv

Summary

### Summary Argo CD API tokens with project-level permissions are able to retrieve sensitive repository credentials (usernames, passwords) through the project details API endpoint, even when the token only has standard application management permissions and no explicit access to secrets. Component: `Project API (/api/v1/projects/{project}/detailed)` ## Vulnerability Details ### Expected Behavior API tokens should require explicit permission to access sensitive credential information. Standard project permissions should not grant access to repository secrets. ### Actual Behavior API tokens with basic project permissions can retrieve all repository credentials associated with a project through the detailed project API endpoint. **Note**: This vulnerability does not only affect project-level permissions. Any token with project get permissions is also vulnerable, including global permissions such as: `p, role/user, projects, get, *, allow` ### Steps to Reproduce 1. Create an API token with the following project-level permissions: ``` p, proj:myProject:project-automation-role, applications, sync, myProject/*, allow p, proj:myProject:project-automation-role, applications, action/argoproj.io/Rollout/*, myProject/*, allow p, proj:myProject:project-automation-role, applications, get, myProject/*, allow ``` 2. Call the project details API: ``` bashcurl -sH "Authorization: Bearer $ARGOCD_API_TOKEN" \ "https://argocd.example.com/api/v1/projects/myProject/detailed" ``` 3. Observe that the response includes sensitive repository credentials: ``` { "repositories": [ { "username": "<REDACTED>", "password": "<REDACTED>", "type": "helm", "name": "test-helm-repo", "project": "myProject" } ] } ``` ## Patches * v3.1.2 * v3.0.14 * v2.14.16 * v2.13.9 Credits to @ashishgoyal111 for helping identify this issue.

Advisory Timeline

  • First published September 4, 2025 (403 days ago).
  • Last revised September 10, 2026 — 370 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/argoproj/argo-cd/v2 to 2.13.9 or later
go get github.com/argoproj/argo-cd/v2@v2.13.9
Go
Update github.com/argoproj/argo-cd/v3 to 3.0.14 or later
go get github.com/argoproj/argo-cd/v3@v3.0.14
Go
Update github.com/argoproj/argo-cd/v2 to 2.14.16 or later
go get github.com/argoproj/argo-cd/v2@v2.14.16
Go
Update github.com/argoproj/argo-cd/v3 to 3.1.2 or later
go get github.com/argoproj/argo-cd/v3@v3.1.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: go (2).

PackageEcosystemAffectedFixed In
github.com/argoproj/argo-cd/v2
go
All versions2.13.9
github.com/argoproj/argo-cd/v3
go
All versions3.0.14
github.com/argoproj/argo-cd/v2
go
All versions2.14.16
github.com/argoproj/argo-cd/v3
go
All versions3.1.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-200
    Information ExposureMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-55190?
Argo CD's Project API Token Exposes Repository Credentials This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by CVE-2025-55190?
CVE-2025-55190 affects github.com/argoproj/argo-cd/v2 and github.com/argoproj/argo-cd/v3. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-55190 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-786q-9hcg-v9ff
BIT-argo-cd-2025-55190
GO-2025-3934

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies