Description
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.
Published: 2026-11-01
Score: n/a
EPSS: n/a
KEV: No
Impact: Unauthorized access to private repositories
Action: Patch immediately
AI Analysis

Impact

Gitea failed to reject personal access tokens designated as public‑only when these tokens were used to register an organization‑level Actions runner. The registration endpoint allowed the token to create a runner that then became capable of executing workflow jobs in all repositories of the organization, including private ones. An attacker who holds such a token with a write:organization scope, even though the token is limited to public resources, can therefore gain access to private repository contents, Actions workflow files, secrets, and variables, effectively escalating privileges within the organization.

Affected Systems

The vulnerability affects the open‑source Gitea platform. No specific version range is listed in the available data, so all installations of Gitea that use the Actions runner registration endpoint are potentially impacted until a fix is applied.

Risk and Exploitability

The bug falls under CWE‑863 (Improper Authorization). Although no CVSS or EPSS score is provided, the ability to register a runner that can access private repositories represents a serious privilege escalation if an organization has Actions enabled for private projects. The risk is high for organizations holding private repositories and for users who possess public‑only tokens with write:organization access. No exploit is publicly reported in the KEV catalog, but the absence of a mitigation in the public space means the vulnerability could be actively abused by attackers who already possess the described token.

Generated by OpenCVE AI on November 1, 2026 at 11:27 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gitea to version 28.3.0 or later, which contains the fix for the public‑only token validation on runner registration.
  • If an upgrade is not immediately possible, revoke or delete any public‑only personal access tokens that have a write:organization scope for the affected organization.
  • Re‑evaluate token scopes and consider removing the write:organization permission from public‑only tokens or requiring the token to be scoped explicitly to public resources only.

Generated by OpenCVE AI on November 1, 2026 at 11:27 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 01 Nov 2026 10:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Gitea public-only token bypass through Actions runner registration
Weaknesses CWE-863
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published:

Updated: 2026-11-01T09:48:35.376Z

Reserved: 2026-11-01T08:50:49.229Z

Link: CVE-2026-116289

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-11-01T10:18:34.873

Modified: 2026-11-01T10:18:34.983

Link: CVE-2026-116289

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-01T11:30:06Z

Weaknesses