Description
Capgo before 12.128.2 allows direct patching of public.apps.owner_org through PostgREST, bypassing the transfer_app() workflow and creating split-brain ownership. Attackers can directly update apps.owner_org while leaving app_versions.owner_org unchanged, enabling old-org keys to retain access to version data while new-org keys control the app record.
Problem types
Product status
Any version before 12.128.2
12.128.2 (semver)
Credits
Judel777
References
github.com/.../capgo/security/advisories/GHSA-v9jp-r5wh-qqcp
github.com/.../capgo/security/advisories/GHSA-v9jp-r5wh-qqcp (GitHub Security Advisory (GHSA-v9jp-r5wh-qqcp))
www.vulncheck.com/...ip-transfer-via-direct-postgrest-update (VulnCheck Advisory: Capgo - Authorization Bypass in App Ownership Transfer via Direct PostgREST Update)