p PatchFirst

CVE-2026-66877

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 8.1 · High · EPSS 0.4%

Published
Updated

Affected products and versions

  • gitea

    Versions
    • ≥ 0, ≤ 1.27.2: Affected (semver)

    No fix published

Original sources

Check your server →