Paper/Archive/CVE-2026-116289

CVE-2026-116289

Gitea Gitea — Gitea public-only token bypass through Actions runner registration

Description · from the CVE record

Gitea did not reject personal access tokens restricted to public resources (`public-only`) on the organization Actions runner registration-token endpoint, and the runner registered with the resulting token was not limited to public repositories. Holding only such a token with `write:organization` that belongs to an owner of a public organization, an attacker could register an organization-level runner and receive jobs of the organization's private repositories that have Actions enabled, including the workflow content, Actions secrets and variables, and a task token with access to the private repository. The issue widens what the restricted token can reach; it gives nothing beyond what the owner's full account can already do.

Affected

ProductAffectedFixed inSource
Gitea< 28.3.028.3.0CNA

Scores by source

CISA ADP9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-qcgm-ggp8-22qcpatchgithub.com/go-gitea/gitea/pull/39690patchgithub.com/go-gitea/gitea/pull/39853refblog.gitea.com/release-of-28.3.0refgithub.com/go-gitea/gitea/releases/tag/v28.3.0