CVE-2026-120426
JSON

8.7high

OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route

Severity
8.7high CVSS:4.0 by VulnCheck
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
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.

Affected

Product or packageVersionsReported by
OpenCSG CSGHubup to v2.6.0-ceCVE List

All scores

VulnCheck8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

References

https://github.com/OpenCSGs/csghub/issues/1586issue-tracking
https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303technical-description
https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151technical-description
https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41technical-description
https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226technical-description
https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-cerelease-notes
https://hackmd.io/@hieund/csghub-private-repo-file-read-idortechnical-description
https://www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repository-file-read-via-resolve-routethird-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-120426 changed 2026-11-05CVE Terms of Use
NVDCVE-2026-120426 changed 2026-11-05Public domain