CVE-2026-112887

Gitea Actions task token private repository enumeration

Medium published · updated

4.3
CVSS score out of 10 · NVD (134c704f-9b21-4f2e-91b3-4a467353bcc0)

Description

Gitea Actions task tokens authenticate to the REST API as a shared system user with a negative ID, which repository, organization, project and key filters treated as having no owner restriction, and the token carried no API scope to restrict user-scoped routes. A user who can run a workflow could use the job's token with GET /api/v1/user/repos to list every repository on the instance, including private repositories of other users and organizations, with their metadata. Repository contents remained protected by per-repository permission checks. System users now own nothing, and /api/v1/user routes other than GET /api/v1/user accept only individual and bot accounts.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
gitea gitea 0 → <28.3.028.3.0 CVE.org

References