{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "766ef97028cd76150aa406f9827d0d3a35400e84"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "766ef97028cd76150aa406f9827d0d3a35400e84"
            }
          ],
          "repo": "https://github.com/gogs/gogs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-h48f-pxp7-c4mj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-384"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52803.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "0.15.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "0.15.0"
              },
              {
                "fixed": "0.15.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "Gogs is an open source self-hosted Git service. Prior to 0.15.0, Gogs does not regenerate the session ID after successful authentication. An attacker who forces a victim to use a known session ID can hijack the session after the victim logs in and take over the account. This issue is fixed in version 0.15.0.",
  "id": "CVE-2026-52803",
  "modified": "2026-11-26T01:45:22.023661479Z",
  "published": "2026-11-26T00:54:32.964Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/52xxx/CVE-2026-52803.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/gogs/gogs/commit/766ef97028cd76150aa406f9827d0d3a35400e84"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/gogs/gogs/security/advisories/GHSA-h48f-pxp7-c4mj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-52803"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Gogs: Session Fixation via Missing Session ID Regeneration on Sign-In"
}