# CVE-2026-66877: Gitea fork workflow approval bypass through concurrency cancellation

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-10-14T14:36:11.356Z
- Modified: 2026-10-15T04:18:25.113Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Gitea

## 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.

(As written by CVE List.)

## Affected

- code.gitea.io/gitea: up to 1.27.2

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-v2w8-m4gr-qj65> (vendor-advisory)
- <https://blog.gitea.com/release-of-1.27.3/> (release-notes)
- <https://github.com/go-gitea/gitea/pull/39005> (patch)
- <https://github.com/go-gitea/gitea/pull/39018> (patch)
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.3> (release-notes)

## Sources

- CVE List: [CVE-2026-66877](https://www.cve.org/CVERecord?id=CVE-2026-66877), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2026-66877](https://nvd.nist.gov/vuln/detail/CVE-2026-66877), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-66877 · Whole record: https://cve.day/CVE-2026-66877.json · Rebuilt by cve.day 2026-11-25T22:59:44.672Z
