{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "v2.6.0-ce"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "original_tag": "v2.6.0-ce",
                "range": [
                  {
                    "fixed": "bbb9bf4b346a199a387090de76fcd6c1fffe98f6"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "bbb9bf4b346a199a387090de76fcd6c1fffe98f6"
            }
          ],
          "repo": "https://github.com/opencsgs/csghub",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "2.6.0-ce"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "79ed3fe5c7c86bc47f1886049432d050c1f73b9c"
            }
          ],
          "repo": "https://github.com/opencsgs/csghub-server",
          "type": "GIT"
        }
      ]
    }
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-120426",
  "modified": "2026-11-07T02:30:55.624693689Z",
  "published": "2026-11-02T14:28:52.258Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "OpenCSG CSGHub through v2.6.0-ce Unauthenticated Private Repository File Read via Resolve Route"
}