Job Approval Bypass in Gitea Affects Workflow Execution
CVE-2026-66877

Currently unrated

Key Information:

Vendor

Gitea

Status
Vendor
CVE Published:
14 October 2026

What is CVE-2026-66877?

The Gitea platform has a vulnerability where the approval mechanism for first-time fork contributors is not consistently enforced. While it typically requires approval, certain job transitions may allow jobs to rerun without this check. This flaw can lead to an unapproved execution of workflow code on self-hosted runners. Although fork secrets are protected and the run token remains read-only, the potential for unreviewed code execution poses a significant risk. Users should ensure they are using the latest version and review configurations to maintain security.

Affected Version(s)

Gitea 0 <= 1.27.2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

https://github.com/klydz
https://github.com/bircni
.