6.5Mittel

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

Gitea Gitea Open Source Git Server Veröffentlicht: (vor 3 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-269

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Gitea Gitea Open Source Git Server < 1.25.5

Referenzen und Patches