{"id":"CVE-2026-120426","published":"2026-11-02T15:17:23.583","lastModified":"2026-11-02T19:35:33.347","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.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-639"],"vendors":[],"products":[],"references":[{"url":"https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/issues/1586","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce","tags":[]},{"url":"https://hackmd.io/@hieund/csghub-private-repo-file-read-idor","tags":[]},{"url":"https://www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repository-file-read-via-resolve-route","tags":[]}],"exploitRefs":[{"url":"https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/issues/1586","tags":[]},{"url":"https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce","tags":[]}],"hasPoc":true,"ai":null}