CVE-2026-120426
published high CVSS 4.0 · 8.7OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenCSG | — | CSGHub0 through v2.6.0-ce · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenCSG | CSGHub | 0 through v2.6.0-ce (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-639 Authorization Bypass Through User-Controlled Key
References
8- https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41
- https://github.com/OpenCSGs/csghub/issues/1586
- CSGHub v2.6.0-ce Release Notes https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce
- https://hackmd.io/@hieund/csghub-private-repo-file-read-idor
- VulnCheck Advisory: OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route https://www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repository-file-read-via-resolve-route
Provider assertions
2VulnCheck · cna
OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf00f89a119e38f258d2346d943161fb9d3a547553149ea847620f98ba1d0473
- Ingested
- 07 Nov 2026, 23:39:52 UTC
- Source record
- Official CVE record