{"schema":"threatline.record/2","record":{"id":"CVE-2026-100621","aliases":["GHSA-5rg9-rhwj-wj76"],"summary":"capgo.app Content-Lock Bypass via r2-direct Bundle Mutation","details":"Capgo (capgo.app) contains an incomplete access-control/content-lock enforcement issue affecting all versions; no patch is available at the time of publication. The `enforce_encrypted_bundle_trigger` / `check_encrypted_bundle_on_insert` content lock in supabase/schemas/prod.sql exempts `app_versions` rows whose previous `storage_provider` is `r2-direct`, so delivery-critical columns (name, app_id, session_key, key_id, storage_provider, r2_path, external_url, checksum, manifest, native_packages) remain mutable while a row is in that state. Separately, the channel/version join used by the `/updates` endpoint (supabase/functions/_backend/utils/pg.ts) filters only deleted versions and does not exclude `r2-direct` versions, so such rows remain OTA-selectable. An attacker holding a Capgo API key with bundle write/upload permission can create or keep a bundle version in the `r2-direct` state, assign it to a channel, and then modify these fields via direct PostgREST requests, causing altered bundle metadata (for example checksum and session_key) to be served to devices through `/updates`. This bypasses the post-upload content immutability hardening added for a previous app_versions metadata-tampering issue.","categories":["Unclassified"],"product":"capgo.app","vendor":"Cap-go","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100621","source_modified_at":"2026-09-30T17:20:10.724Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"capgo.app","vendor":"Cap-go","versions":[{"version":"0","status":"affected","versionType":"custom","lessThanOrEqual":"*"}],"defaultStatus":"unaffected"}],"fixed_versions":[],"cvss":5.3,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00225,"percentile":0.12411,"score_date":"2026-10-23"},"published_at":"2026-09-26T13:23:00.259Z","modified_at":"2026-09-30T17:20:10.724Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100621","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-09-30T17:20:10.724Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100621","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/Cap-go/capgo.app/security/advisories/GHSA-5rg9-rhwj-wj76","tags":["exploit"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/capgo-app-content-lock-bypass-via-r2-direct-bundle-mutation","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-30T12:53:37.679330Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-09-30T17:20:10.724Z","content_hash":"0e9dedc5e83c99ab2a75db08825bf37481e7d6c12cf0b933a5d0739a8edf3ccf"}}
