CVE-2026-24059 PUBLISHED

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

Assigner: Gitea
Reserved: 03.03.2026 Published: 13.08.2026 Updated: 13.08.2026

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.

Product Status

Vendor Gitea
Product Gitea Open Source Git Server
Versions Default: unaffected
  • affected from 0 to 1.25.5 (excl.)

Credits

  • CsEnox reporter

References

Problem Types

  • CWE-269 CWE