---
id: CVE-2026-66877
title: >-
  Gitea enforces first-time fork contributor approval by blocking jobs, but some
  job transition and dispatch paths do not re-check the run's approval
  requirement
summary: >-
  Gitea enforces first-time fork contributor approval by blocking jobs, but some
  job transition and dispatch paths do not re-check the run's approval
  requirement. A separate run sharing a job-level concurrency group can cancel a
  pending jo…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-284
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T16:17:50.553'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-66877'
references:
  - url: 'https://blog.gitea.com/release-of-1.27.3/'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39005'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/pull/39018'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v1.27.3'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-v2w8-m4gr-qj65'
    label: 88ee5874-cf24-4952-aea0-31affedb7ff2
tags:
  - nvd
ingestedAt: '2026-10-14T15:36:14.025Z'
---

## Overview

Gitea enforces first-time fork contributor approval by blocking jobs, but some job transition and dispatch paths do not re-check the run's approval requirement. A separate run sharing a job-level concurrency group can cancel a pending job and cause its blocked sibling jobs to be re-emitted and dispatched without approval. This allows unreviewed workflow code to execute on self-hosted runners; fork secrets remain withheld and the run token remains read-only.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
