{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "28.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4ebd5e319b6a9e629bfd7a04292a6fe85b08dee9"
            }
          ],
          "repo": "https://github.com/go-gitea/gitea",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-469m-x4mw-38r3"
  ],
  "database_specific": {
    "cna_assigner": "Gitea",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101023.json"
  },
  "details": "Gitea's OAuth2 token endpoint verified the signature and grant of a token submitted with the `refresh_token` grant type, but not that the token was a refresh token. An unexpired access token for the same OAuth2 application and grant could be exchanged for a new access token and refresh token. Whoever holds such an access token could keep access beyond the token's original lifetime.",
  "id": "CVE-2026-101023",
  "modified": "2026-10-08T02:30:29.946374443Z",
  "published": "2026-10-06T21:34:53.642Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://blog.gitea.com/release-of-28.1.0/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101023.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v28.1.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-469m-x4mw-38r3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-101023"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39501"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39507"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "Gitea OAuth2 refresh token grant accepts access tokens"
}