Gitea runner registration-token GET endpoint performs a write under a read-only token scope
cve-program · CVE-2026-24059
PublishedThe GET /api/v1/user/actions/runners/registration-token endpoint (and its owner- and repository-level equivalents) creates a new runner registration token if none exists, yet the API scope middleware classifies it as read-only because it is a GET request. A holder of a leaked read:user-scoped token can therefore mint a registration token and register a malicious Actions runner that executes workflow jobs with access to repository secrets and source code.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-24059 · CVE overview and exploitation status
cve-program · CVE-2026-24059
Related changes
Linked by CVE identifierNo related changes are available here.