{"id":"CVE-2026-66877","title":"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","summary":"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 jo…","severity":"high","cvss":8.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-284"],"vendor":"Gitea","product":"code.gitea.io/gitea","affected":["code.gitea.io/gitea <= 1.27.2"],"published":"2026-10-14","updated":"2026-10-15","sourceUpdated":"2026-10-15T04:18:25.113","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-66877","references":[{"url":"https://blog.gitea.com/release-of-1.27.3/","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39005","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/pull/39018","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.3","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"},{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-v2w8-m4gr-qj65","label":"88ee5874-cf24-4952-aea0-31affedb7ff2"}],"tags":["nvd","cve.org"],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-14T15:08:00.453316Z"},"ingestedAt":"2026-10-14T15:36:14.025Z","epss":0.00426,"epssPercentile":0.36718,"slug":"CVE-2026-66877","body":"## Overview\n\nGitea 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":44.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":220344,"id":"CVE-2026-66877","ts":1791996229447,"field":"cvss","old":null,"new":"8.1"},{"seq":220343,"id":"CVE-2026-66877","ts":1791996229447,"field":"severity","old":"none","new":"high"}]}