Improper access control in Gitea - CVE-2026-66877
Published: August 31, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code on self-hosted runners.
The vulnerability exists due to improper access control in the fork pull request workflow approval handling when processing job-level concurrency cancellation. A remote user can open a pull request and cause a pending run to be re-evaluated through a shared job-level concurrency group to execute arbitrary code on self-hosted runners.
User interaction is required because a maintainer must handle the pull request workflow process.