Bug 2573869 (CVE-2026-118535)

Summary: CVE-2026-118535 gitea: Gitea: Unauthorized workflow execution and secret disclosure via repository transfer
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerability-draftAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in Gitea. When a repository configured as a trusted source for scoped CI/CD (Continuous Integration/Continuous Deployment) workflows is transferred to a new owner, Gitea fails to revoke that registration. An attacker who acquires the transferred repository can modify these workflows, which continue to execute within the original owner's environment. This issue can lead to unauthorized code execution and the exposure of sensitive secrets and job tokens.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-11-16 21:45:02 UTC
A repository registered by its owner as a source of scoped workflows kept that registration when it was transferred to another owner. The new owner could then change the workflows in the transferred repository, and they kept running in the previous owner's repositories with access to their Actions secrets and job tokens. A transfer now removes the owner-level registrations of the repository, and registrations whose source repository no longer belongs to the registering owner are ignored.