{"id":"CVE-2026-120426","state":"PUBLISHED","title":"OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route","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.","publishedAt":"2026-11-02T14:28:52.258Z","updatedAt":"2026-11-05T21:34:30.350Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["OpenCSG CSGHub"],"affected":[{"vendor":"OpenCSG","product":"CSGHub","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"v2.6.0-ce","versionType":"custom"}],"repo":"https://github.com/OpenCSGs/csghub"}],"references":["https://github.com/OpenCSGs/csghub/issues/1586","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/internal/handlers/frontend/resolve.go#L138-L151","https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41","https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226","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-unauthenticated-private-repository-file-read-via-resolve-route"],"weaknesses":["CWE-639"],"ingestedAt":"2026-11-05T21:42:05.700Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/120xxx/CVE-2026-120426.json","commit":"96deede209e6621c5112aa572adeaac68d95f1a2","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-120426","state":"PUBLISHED","datePublished":"2026-11-02T14:28:52.258Z","dateUpdated":"2026-11-05T21:34:30.350Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-02T12:42:10.388Z"},"containers":{"cna":{"title":"OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route","descriptions":[{"lang":"en","value":"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":[{"vendor":"OpenCSG","product":"CSGHub","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"v2.6.0-ce","versionType":"custom"}],"repo":"https://github.com/OpenCSGs/csghub"}],"references":[{"url":"https://github.com/OpenCSGs/csghub/issues/1586","tags":["issue-tracking"]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/routes/router.go#L302-L303","tags":["technical-description"]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/internal/handlers/frontend/resolve.go#L138-L151","tags":["technical-description"]},{"url":"https://github.com/OpenCSGs/csghub/blob/v2.6.0-ce/pkg/server/backend/csghubserver/download.go#L10-L41","tags":["technical-description"]},{"url":"https://github.com/OpenCSGs/csghub-server/blob/v2.6.0-ce/api/middleware/authenticator.go#L210-L226","tags":["technical-description"]},{"url":"https://github.com/OpenCSGs/csghub/releases/tag/v2.6.0-ce","tags":["release-notes"],"name":"CSGHub v2.6.0-ce Release Notes"},{"url":"https://hackmd.io/@hieund/csghub-private-repo-file-read-idor","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/opencsg-csghub-through-2.6.0-ce-unauthenticated-private-repository-file-read-via-resolve-route","name":"VulnCheck Advisory: OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-02T14:28:52.258Z"},"datePublic":"2026-10-31T00:00:00.000Z","credits":[{"lang":"en","value":"hieuPenguinnn","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-05T21:34:16.823553Z","id":"CVE-2026-120426","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-05T21:34:30.350Z"}}]}}}