Skip to main content
← All vulnerabilities
CVE-2026-24059

Gitea runner registration-token GET endpoint performs a write under a read-only token scope

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.25.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Gitea Gitea Open Source Git Server

    fixed in 1.25.5

References 4

GitHub · go-gitea/gitea

blog.gitea.com