CVE-2026-66877
CVE-2026-66877 · Gitea fork workflow approval bypass through concurrency cancellation
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.1 · High · EPSS 0.4%
- Published
- Updated
Affected products and versions
gitea
- Versions
- ≥ 0, ≤ 1.27.2: Affected (semver)
No fix published
Original sources
- https://github.com/go-gitea/gitea/security/advisories/GHSA-v2w8-m4gr-qj65
- https://blog.gitea.com/release-of-1.27.3/
- https://github.com/go-gitea/gitea/pull/39005
- https://github.com/go-gitea/gitea/pull/39018
- https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- https://nvd.nist.gov/vuln/detail/CVE-2026-66877