Description (CNA)
Capgo (capgo.app) exposes a native build TUS upload proxy (supabase/functions/_backend/public/build/upload.ts) that authorizes a caller against a single build job identified by the supplied builder_job_id and validates only that job's stored upload_path, but then forwards the user-controlled TUS resource suffix taken from /build/upload/:jobId/* to the builder service while injecting Capgo's privileged builder API key. Because the forwarded suffix is never bound to the authorized job's upload_path or upload_session_key, a caller holding a valid 'all' or 'write' Capgo API key with app.build_native permission for one application can use its authorized proxy path for job A to write to the TUS upload resource of another job B, provided that resource suffix is known or exposed, corrupting that build's artifacts. All versions are affected; no patch was available at the time of advisory publication.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Cap-go / capgo.app | affected 0 through * |
CWE
CWE-441
References
- https://github.com/Cap-go/capgo.app/security/advisories/GHSA-r45q-x4gr-3mvv
- https://www.vulncheck.com/advisories/capgo-build-upload-proxy-authorization-bypass-via-tus-resource
ADP enrichment
No English description supplied.