Missing Authorization in Gitea - CVE-2026-104632

 

Missing Authorization in Gitea - CVE-2026-104632

Published: October 19, 2026


Vulnerability identifier: #VU156102
CSH Severity: Medium
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-104632
CWE-ID: CWE-862
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary code in a self-hosted Actions runner environment without workflow approval.

The vulnerability exists due to missing authorization checks in Gitea's Actions rerun handling in services/actions/rerun.go when recreating jobs for cancelled workflow runs that still require approval. A remote user can submit a fork pull request containing an attacker-controlled workflow and have an Actions writer cancel and rerun the blocked run to execute arbitrary code in the runner environment, because validateRerun accepts the cancelled run and execRerunPlan creates waiting jobs without checking NeedApproval.

The bypass concerns workflow dispatch, not the fork secrets policy.


Affected software

Gitea

How to mitigate CVE-2026-104632

Install security update from vendor's website.

Gitea - update to 28.0.0

External References

Related Security Bulletins