Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenti
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/res
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302
- https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserve
- https://github.com/OpenCSGs/csghub/issues/1586
- https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce
- https://hackmd.io/@hieund/csghub-private-repo-file-read-idor
- https://www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthentic
FAQ
What is CVE-2026-120426?
CVE-2026-120426 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 i...
How severe is CVE-2026-120426?
CVE-2026-120426 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-120426?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.