CVE-2026-112887

published 1 Nov 2026 · updated 6 Nov 2026

Gitea Actions task token private repository enumeration

4.3MediumCVSS 4.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Gitea 28.3.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GiteaGitea<28.3.028.3.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Gitea, strongest first

10.0CriticalCISA KEVPublic exploit

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-112887 severity on Zeptric[![CVE-2026-112887](https://zeptric.io/badge/cve/CVE-2026-112887.svg)](https://zeptric.io/cve/CVE-2026-112887)