Bug 2547041 (CVE-2026-104626) - CVE-2026-104626 code.gitea.io/gitea: Gitea: Arbitrary code execution via improper handling of canceled workflow runs
Summary: CVE-2026-104626 code.gitea.io/gitea: Gitea: Arbitrary code execution via impr...
Keywords:
Status: NEW
Alias: CVE-2026-104626
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-06 19:38 UTC by OSIDB Bzimport
Modified: 2026-10-20 21:36 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-06 19:38:26 UTC
A user who can open a fork pull request can place workflow content with a shared run-level concurrency group into a Gitea Actions run that is awaiting approval. When a later run in that group cancels the blocked job, the run becomes terminal while still marked as needing approval. If a maintainer later approves the run, Gitea passed the already-cancelled job back through concurrency preparation, set it to waiting, and made it claimable by a matching runner, executing fork-controlled workflow code. Exploitation requires the maintainer's later approval action, Actions to be enabled, and a runner that accepts the repository's jobs.


Note You need to log in before you can comment on or make changes to this bug.