{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "1.27.3"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "15b8a5805adf57c5189602008d38cccfd3c795e0"
            }
          ],
          "repo": "https://github.com/go-gitea/gitea",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-pvjf-7jrm-6w9g"
  ],
  "database_specific": {
    "cna_assigner": "Gitea",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104632.json"
  },
  "details": "Gitea Actions blocks the jobs of workflow runs from first-time fork pull request contributors until a maintainer approves the run. The rerun path only required a run to be finished and built the new attempt's jobs without considering the pending approval, so when a user with Actions write access cancelled a run that was awaiting approval and then re-ran it, the new jobs were created as waiting rather than blocked while the run still recorded that approval was required. Cancelling and re-running stale fork checks is a routine action that does not involve the approval control, so where Actions is enabled and a matching runner is registered, workflow code taken from the fork pull request head could run on the repository's runners without an explicit approval.",
  "id": "CVE-2026-104632",
  "modified": "2026-10-08T02:31:00.602353023Z",
  "published": "2026-10-06T19:22:04.308Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://blog.gitea.com/release-of-28.0.0/"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/104xxx/CVE-2026-104632.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/releases/tag/v28.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-pvjf-7jrm-6w9g"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-104632"
    },
    {
      "type": "FIX",
      "url": "https://github.com/go-gitea/gitea/pull/39399"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "Gitea fork workflow approval bypass through cancel and rerun"
}