High severity7.5NVD Advisory· Published Nov 2, 2026
CVE-2026-120426
CVE-2026-120426
Description
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.
Affected products
2- Range: <=2.6.0-ce
Patches
Vulnerability mechanics
References
8- github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.gonvd
- github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.gonvd
- github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.gonvd
- github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.gonvd
- github.com/OpenCSGs/csghub/issues/1586nvd
- github.com/OpenCSGs/csghub/releases/tag/v2.6.0-cenvd
- hackmd.io/@hieund/csghub-private-repo-file-read-idornvd
- www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repository-file-read-via-resolve-routenvd
News mentions
0No linked articles in our index yet.