{"id":"CVE-2026-24059","state":"PUBLISHED","title":"Gitea runner registration-token GET endpoint performs a write under a read-only token scope","description":"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.","publishedAt":"2026-08-13T16:48:52.623Z","updatedAt":"2026-08-14T17:10:45.377Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"Gitea","products":["Gitea Gitea Open Source Git Server"],"affected":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.25.5","versionType":"semver"}]}],"references":["https://github.com/go-gitea/gitea/security/advisories/GHSA-v43r-86x9-8523","https://github.com/go-gitea/gitea/pull/36801","https://github.com/go-gitea/gitea/releases/tag/v1.25.5","https://blog.gitea.com/release-of-1.25.5/"],"weaknesses":["CWE-269"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24059.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24059","state":"PUBLISHED","datePublished":"2026-08-13T16:48:52.623Z","dateUpdated":"2026-08-14T17:10:45.377Z","assignerShortName":"Gitea","assignerOrgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateReserved":"2026-03-03T03:25:28.686Z"},"containers":{"cna":{"title":"Gitea runner registration-token GET endpoint performs a write under a read-only token scope","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Gitea","product":"Gitea Open Source Git Server","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.25.5","versionType":"semver"}]}],"references":[{"url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-v43r-86x9-8523","name":"GitHub Security Advisory","tags":["vendor-advisory"]},{"url":"https://github.com/go-gitea/gitea/pull/36801","name":"GitHub Pull Request #36801","tags":["patch"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.25.5","name":"Gitea v1.25.5 Release","tags":["release-notes"]},{"url":"https://blog.gitea.com/release-of-1.25.5/","name":"Gitea v1.25.5 Release Blog Post","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","description":"CWE-269","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Gitea","orgId":"88ee5874-cf24-4952-aea0-31affedb7ff2","dateUpdated":"2026-08-13T16:48:52.623Z"},"credits":[{"lang":"en","value":"CsEnox","type":"reporter"}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":6.5,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T17:10:25.511013Z","id":"CVE-2026-24059","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-14T17:10:45.377Z"}}]}}}