CVE-2026-120426
OpenCSG CSGHub through v2.6.0-ce contains an authorization bypass …
OpenCSG CSGHub through v2.6.0-ce contains an authorization bypass vulnerability in the unauthenticated file resolve route that allows remote attackers to read private repository files. Attackers can inject a percent-encoded current_user parameter into the file path, which the portal forwards with its server API key, to read files in private model, code or space repositories.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226
- github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151
- github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303
- github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-
- github.com/OpenCSGs/csghub/issues/1586
- github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce
- hackmd.io/@hieund/csghub-private-repo-file-read-idor
- www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repos
- nvd.nist.gov/vuln/detail/CVE-2026-120426
- cve.org/CVERecord?id=CVE-2026-120426
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.