← Back to search

CVE-2026-116289

9.1 CRITICALpublic exploit available

Published 2026-11-01 · Updated 2026-11-06

AI risk analysis

Summary
Gitea incorrectly allowed personal access tokens restricted to public resources (public-only) to register organization-level Actions runners, which then received jobs for private repositories despite the token's restriction, exposing workflow content, secrets, and variables.
Exploitability
Exploitation requires a public-only personal access token with write:organization scope belonging to an owner of a public organization; no user interaction or complex conditions are needed.
Blast radius
An attacker could gain unauthorized access to private repository workflows, secrets, and variables by registering a runner that processes jobs for private repos, effectively bypassing the token's public-only restriction.
Detection
Monitor for runner registration events using tokens with public-only scope on the /orgs/{org}/actions/runners/registration-token endpoint; look for log entries indicating successful registration of an organization-level runner with a restricted token and subsequent job dispatch to private repositories.
Prioritized remediation
Upgrade to Gitea version 2.590 or later, which properly rejects public-only tokens on the organization Actions runner registration-token endpoint.
auth-bypasstoken-misusegiteaci-cdsecrets-exposure

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD 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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-863

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.