{"id":"CVE-2026-120426","summary":"OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route","details":"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.","modified":"2026-11-07T02:30:55.624693689Z","published":"2026-11-02T14:28:52.258Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120426.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120426.json"},{"type":"ADVISORY","url":"https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120426"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repository-file-read-via-resolve-route"},{"type":"REPORT","url":"https://github.com/OpenCSGs/csghub/issues/1586"},{"type":"PACKAGE","url":"https://github.com/OpenCSGs/csghub"},{"type":"ARTICLE","url":"https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226"},{"type":"ARTICLE","url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151"},{"type":"ARTICLE","url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303"},{"type":"ARTICLE","url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41"},{"type":"ARTICLE","url":"https://hackmd.io/@hieund/csghub-private-repo-file-read-idor"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opencsgs/csghub","events":[{"introduced":"0"},{"fixed":"bbb9bf4b346a199a387090de76fcd6c1fffe98f6"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"v2.6.0-ce"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_TAG","original_tag":"v2.6.0-ce","range":[{"fixed":"bbb9bf4b346a199a387090de76fcd6c1fffe98f6"}]}]}},{"type":"GIT","repo":"https://github.com/opencsgs/csghub-server","events":[{"introduced":"0"},{"last_affected":"79ed3fe5c7c86bc47f1886049432d050c1f73b9c"}],"database_specific":{"extracted_events":[{"source":"DESCRIPTION","range":[{"introduced":"0"},{"last_affected":"2.6.0-ce"}]}]}}],"versions":["v2.5.0-ce","v2.4.0-ce","v2.3.0-ce","v2.2.0-ce","v2.1.0-ce","v2.0.0-ce","v1.17.0-ce","v1.16.0-ce","v1.15.1-ce","v1.15.0-ce","v1.14.2-ce","v1.14.1-ce","v1.14.0-ce","v1.13.0-ce","v1.12.1-ce","v1.12.0-ce","v1.11.0-ce","v1.9.5-ce","v1.10.0-ce","v1.9.4-ce","v1.9.3-ce","v1.9.2-ce","v1.9.1-ce","v1.9.0-ce","v1.8.1-ce","v1.8.0-ce","v1.8.0","v1.7.0","v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.0","v1.2.1","v1.2.0","v1.1.0","v1.0.0","v0.9.0","v2.6.0-ce","v1.1.1","v0.8.6","v0.8.5","v0.8.4","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7","v0.6","v0.5","v0.4","v0.3","v0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120426.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}