{"schema_version":"1.7.3","id":"GHSA-786q-9hcg-v9ff","published":"2025-09-04T19:49:56Z","modified":"2026-02-04T04:40:49.983130Z","aliases":["BIT-argo-cd-2025-55190","CVE-2025-55190","GO-2025-3934"],"related":["CGA-hjmj-fr7v-69cc"],"summary":"Argo CD's Project API Token Exposes Repository Credentials","details":"### Summary\nArgo 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.\n\nComponent: `Project API (/api/v1/projects/{project}/detailed)`\n\n\n## Vulnerability Details\n### Expected Behavior\nAPI tokens should require explicit permission to access sensitive credential information. Standard project permissions should not grant access to repository secrets.\n### Actual Behavior\nAPI tokens with basic project permissions can retrieve all repository credentials associated with a project through the detailed project API endpoint.\n\n**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`\n\n### Steps to Reproduce\n\n1. Create an API token with the following project-level permissions:\n  ```\n  p, proj:myProject:project-automation-role, applications, sync, myProject/*, allow\n  p, proj:myProject:project-automation-role, applications, action/argoproj.io/Rollout/*, myProject/*, allow\n  p, proj:myProject:project-automation-role, applications, get, myProject/*, allow\n  ```\n\n2. Call the project details API:\n  ```\n  bashcurl -sH \"Authorization: Bearer $ARGOCD_API_TOKEN\" \\\n    \"https://argocd.example.com/api/v1/projects/myProject/detailed\"\n  \n  ```\n3. Observe that the response includes sensitive repository credentials:\n  ```\n  {\n    \"repositories\": [\n      {\n        \"username\": \"<REDACTED>\",\n        \"password\": \"<REDACTED>\",\n        \"type\": \"helm\",\n        \"name\": \"test-helm-repo\",\n        \"project\": \"myProject\"\n      }\n    ]\n  }\n  ```\n\n## Patches\n\n* v3.1.2\n* v3.0.14\n* v2.14.16\n* v2.13.9\n\n\nCredits to @ashishgoyal111 for helping identify this issue.","affected":[{"package":{"name":"github.com/argoproj/argo-cd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/argoproj/argo-cd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.13.0"},{"fixed":"2.13.9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-786q-9hcg-v9ff/GHSA-786q-9hcg-v9ff.json"}},{"package":{"name":"github.com/argoproj/argo-cd/v2","ecosystem":"Go","purl":"pkg:golang/github.com/argoproj/argo-cd/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.14.0"},{"fixed":"2.14.16"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-786q-9hcg-v9ff/GHSA-786q-9hcg-v9ff.json"}},{"package":{"name":"github.com/argoproj/argo-cd/v3","ecosystem":"Go","purl":"pkg:golang/github.com/argoproj/argo-cd/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.0.14"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-786q-9hcg-v9ff/GHSA-786q-9hcg-v9ff.json"}},{"package":{"name":"github.com/argoproj/argo-cd/v3","ecosystem":"Go","purl":"pkg:golang/github.com/argoproj/argo-cd/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.1.0-rc1"},{"fixed":"3.1.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-786q-9hcg-v9ff/GHSA-786q-9hcg-v9ff.json"}}],"references":[{"type":"WEB","url":"https://github.com/argoproj/argo-cd/security/advisories/GHSA-786q-9hcg-v9ff"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-55190"},{"type":"WEB","url":"https://github.com/argoproj/argo-cd/commit/e8f86101f5378662ae6151ce5c3a76e9141900e8"},{"type":"PACKAGE","url":"https://github.com/argoproj/argo-cd"}],"database_specific":{"cwe_ids":["CWE-200"],"github_reviewed":true,"github_reviewed_at":"2025-09-04T19:49:56Z","nvd_published_at":"2025-09-04T23:15:32Z","severity":"CRITICAL"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}