CVE-2026-66877
published high CVSS 3.1 · 8.1Gitea fork workflow approval bypass through concurrency cancellation
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | code.gitea.io/giteaGitea · 0 through 1.27.2 · Other versions: unaffected | Affected | Not stated | Gitea |
| Alpine Linux | edge | gitea | Fixed | 1.27.3-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 1.27.2 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-284 CWE-284 Improper Access Control
References
5- Gitea 1.27.3 release announcement https://blog.gitea.com/release-of-1.27.3/
- Fix: go-gitea/gitea pull request #39005 https://github.com/go-gitea/gitea/pull/39005
- Fix: go-gitea/gitea pull request #39018 https://github.com/go-gitea/gitea/pull/39018
- go-gitea/gitea v1.27.3 release https://github.com/go-gitea/gitea/releases/tag/v1.27.3
- GitHub Security Advisory GHSA-v2w8-m4gr-qj65 https://github.com/go-gitea/gitea/security/advisories/GHSA-v2w8-m4gr-qj65
Provider assertions
2Gitea · cna
Gitea fork workflow approval bypass through concurrency cancellation
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8b52a29397d789672f67c5d34ab74fff2bc1df4af626f817b1baea6c38ee56c6
- Ingested
- 15 Oct 2026, 13:18:33 UTC
- Source record
- Official CVE record