github.com/argoproj/argo-cd/v2
Affected
- introduced
2.13.0, fixed2.13.9(semver)
Fixed versions
2.13.9
Fix
- Fixed version
2.13.9go get github.com/argoproj/argo-cd/[email protected]
Advisory
Also known as: BIT-argo-cd-2025-55190, CVE-2025-55190, GO-2025-3934
Argo CD's Project API Token Exposes Repository Credentials
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
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
bashcurl -sH "Authorization: Bearer $ARGOCD_API_TOKEN" \
"https://argocd.example.com/api/v1/projects/myProject/detailed"
{
"repositories": [
{
"username": "<REDACTED>",
"password": "<REDACTED>",
"type": "helm",
"name": "test-helm-repo",
"project": "myProject"
}
]
}
Patches
Credits to @ashishgoyal111 for helping identify this issue.
Critical Basis: The source's own band: CRITICAL
2.13.0, fixed 2.13.9 (semver)2.13.9
2.13.9go get github.com/argoproj/argo-cd/[email protected]2.14.0, fixed 2.14.16 (semver)2.14.16
2.14.16go get github.com/argoproj/argo-cd/[email protected]0, fixed 3.0.14 (semver)3.0.14
3.0.14go get github.com/argoproj/argo-cd/[email protected]3.1.0-rc1, fixed 3.1.2 (semver)3.1.2
3.1.2go get github.com/argoproj/argo-cd/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0