CVE-2026-112887
published medium CVSS 3.1 · 4.3Gitea Actions task token private repository enumeration
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 to < 28.3.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 to < 28.3.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-862 CWE-862: Missing Authorization
References
5- Gitea 28.3.0 release announcement https://blog.gitea.com/release-of-28.3.0/
- Fix: go-gitea/gitea pull request #39945 https://github.com/go-gitea/gitea/pull/39945
- Fix backport to release/v28: go-gitea/gitea pull request #40115 https://github.com/go-gitea/gitea/pull/40115
- go-gitea/gitea v28.3.0 release https://github.com/go-gitea/gitea/releases/tag/v28.3.0
- GitHub Security Advisory GHSA-8r36-6j2c-3gmv https://github.com/go-gitea/gitea/security/advisories/GHSA-8r36-6j2c-3gmv
Provider assertions
2Gitea · cna
Gitea Actions task token private repository enumeration
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5a0da615d283a4f8e7344f52559e9066809998727c008ffc60045fd8be21e48a
- Ingested
- 07 Nov 2026, 23:37:59 UTC
- Source record
- Official CVE record