CVE-2026-66877 Gitea fork workflow approval bypass through concurrency cancellation
HighCVSS 8.1
EPSS 0.43%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Gitea | <= 1.27.2 | after 1.27.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Gitea | <= 1.27.2 | No fix listed |
References
- GitHub Security Advisory GHSA-v2w8-m4gr-qj65 vendor-advisory
- Gitea 1.27.3 release announcement release-notes
- Fix: go-gitea/gitea pull request #39005 patch
- Fix: go-gitea/gitea pull request #39018 patch
- go-gitea/gitea v1.27.3 release release-notes
- ENISA EUVD EUVD-2026-101089 third-party-advisory