Description (CNA)
Capgo before 12.128.2 contains a broken access control vulnerability in the organization management API where a scoped API key (limited_to_orgs) inherits its owner-user's permissions, allowing destructive cross-organization actions. When a user is an admin in two organizations and creates a write-mode API key restricted to one organization, that key can still perform destructive operations (e.g., DELETE /organization, DELETE /organization/members) against another organization. The root cause is route-level authorization (rbac_check_permission_direct) that evaluates the key owner's user privileges before enforcing the API key's limited_to_orgs scope.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Capgo / Capgo | affected 0 before 12.128.2; unaffected 12.128.2 |
CWE
CWE-285
References
- https://github.com/Cap-go/capgo/security/advisories/GHSA-ccm4-hf72-p28m
- https://www.vulncheck.com/advisories/capgo-cross-organization-authorization-bypass-via-scoped-api-key-privilege-inheritance
ADP enrichment
No English description supplied.