SecurityContext

CVE-2026-66877: Gitea - Broken Access Control

  • Cve: CVE-2026-66877
  • Name: Gitea - Broken Access Control
  • 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.
  • Impact: Unreviewed workflow code can execute on self-hosted runners, risking unauthorized code execution without exposing secrets.
  • Remediation: Update to the latest version where job approval checks are enforced consistently.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs to bypass fork contributor approval to trigger job dispatch without review
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00426
  • Epss percentile: 0.37665
  • Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
  • Published at: 2026-10-14T15:17:21Z
  • Age in days: 41
  • Modified at: 2026-10-15T04:18:25Z
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-66877
  • Nvd status: deferred
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-284Improper Access Control

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://blog.gitea.com/release-of-1.27.3/
https://github.com/go-gitea/gitea/pull/39005
https://github.com/go-gitea/gitea/pull/39018
https://github.com/go-gitea/gitea/releases/tag/v1.27.3
https://github.com/go-gitea/gitea/security/advisories/GHSA-v2w8-m4gr-qj65

Products

ProductAffectedPlatform boundSourcesUrl
gitea:gitea<= 1.27.2nocna_alias/v1/products/gitea/gitea

Projects

RepositoryLink kindsIndexedUrl
go-gitea/giteapull, releases, security_advisoryyes/v1/repositories/go-gitea/gitea

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 33493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports