← Back to search

CVE-2026-66877

8.1 HIGHpublic exploit available

Published 2026-10-14 · Updated 2026-10-15

AI risk analysis

Summary
Gitea fails to re-verify approval status when certain workflow jobs transition or are dispatched within shared concurrency groups, allowing unapproved fork contributors to execute workflows on self-hosted runners despite initial blocking.
Exploitability
Exploitation requires low privilege access (PR:L) and the ability to trigger a new run that shares a job-level concurrency group with a pending, blocked job; network access (AV:N) is required but no user interaction (UI:N).
Blast radius
Unreviewed workflow code can execute on self-hosted runners, potentially exfiltrating repository secrets or compromising runner integrity, though fork secrets remain protected and the run token remains read-only.
Detection
Look for workflow runs that transition from pending/blocking state to active execution without a corresponding approval event in the gitea-web.log or gitea.log; specifically, entries showing job dispatch or cancellation followed by immediate job activation in the same concurrency group.
Prioritized remediation
Upgrade to Gitea version 2.590 or later, where the approval check is enforced during all job transitions and dispatches within concurrency groups.
workflow-executionapproval-bypassself-hosted-runnerfork-security

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-284

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.