Gitea Actions revives cancelled fork workflow jobs after approval
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
Summary
Gitea through 1.27.3 has an improper enforcement of behavioral workflow flaw (CWE-841) in Gitea Actions. A user who can open a fork pull request can place workflow content into a run awaiting approval, and a later run in the same shared concurrency group can cancel the blocked job while the run stays marked as needing approval. When a maintainer later approves that run, Gitea sets the already-cancelled job to waiting and makes it claimable by a matching runner, which executes fork-controlled workflow code.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for Gitea.
Written with Claude Haiku 5.5 from the sources below · 2026-10-29
Vendor assessments
Timeline
- 2026-10-06 Threatist record created from CVE-2026-104626
- 2026-10-07 CVSS score added · CISA ADP
- 2026-10-07 CISA SSVC decision points changed
- 2026-10-09 Priority changed: LOW → MEDIUM
- 2026-10-21 Affected versions changed · Red Hat
- 2026-10-21 CVSS score added · Red Hat
References
More Gitea vulnerabilities
- TI-2026-42785 Gitea before 1.27.1 allows remote code execution via the diffpatch API through Git hook installation. KEVCVSS 3.1CRITICAL 9.8
- TI-2020-11072 The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote… CVSS 3.1HIGH 7.2
- TI-2022-12910 Gitea before 1.16.7 does not escape git fetch remote. CVSS 3.1HIGH 7.5
- TI-2019-08404 models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror… CVSS 3.1HIGH 8.8
- TI-2022-00955 Open Redirect on login in go-gitea/gitea CVSS 3.1MEDIUM 6.1
- TI-2026-68968 Push-to-create bypass of FORCE_PRIVATE policy in Gitea CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-104626 · CVE Program
- CVE-2026-104626 · NVD
- FIRST EPSS
- CVE-2026-104626 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences