OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 2, 2026
- Updated
- Nov 5, 2026
- Reserved
- Nov 2, 2026
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.
| Product | Versions |
|---|---|
| CSGHub OpenCSG | v2.6.0-ce and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | VulnCheck | |
| 3.1 | 7.5 High | VulnCheck |
Weaknesses
- CWE-639 Authorization Bypass Through User-Controlled Key
References
- https://github.com/OpenCSGs/csghub/issues/1586Issue Tracker
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303Technical Details
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151Technical Details
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41Technical Details
- https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226Technical Details
- CSGHub v2.6.0-ce Release NotesRelease Notes
- https://hackmd.io/@hieund/csghub-private-repo-file-read-idorTechnical Details
- VulnCheck Advisory: OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve RouteThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.