CVE-2026-112887
4.3medium
Gitea Actions task token private repository enumeration
- Severity
- 4.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
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
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | before 28.3.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-112887 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-112887 changed 2026-11-06 | Public domain |