---
id: CVE-2026-112887
title: Gitea Actions task token private repository enumeration
summary: >-
  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
  rest…
severity: none
cwe:
  - CWE-200
  - CWE-862
vendor: Gitea
product: gitea.dev
affected:
  - gitea.dev < 28.3.0
published: '2026-11-01'
updated: '2026-11-01'
sourceUpdated: '2026-11-01T09:48:30.659Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112887'
references:
  - url: 'https://github.com/go-gitea/gitea/security/advisories/GHSA-8r36-6j2c-3gmv'
    label: GitHub Security Advisory GHSA-8r36-6j2c-3gmv
  - url: 'https://github.com/go-gitea/gitea/pull/39945'
    label: 'Fix: go-gitea/gitea pull request #39945'
  - url: 'https://github.com/go-gitea/gitea/pull/40115'
    label: 'Fix backport to release/v28: go-gitea/gitea pull request #40115'
  - url: 'https://blog.gitea.com/release-of-28.3.0/'
    label: Gitea 28.3.0 release announcement
  - url: 'https://github.com/go-gitea/gitea/releases/tag/v28.3.0'
    label: go-gitea/gitea v28.3.0 release
tags:
  - cve.org
epss: 0.00185
epssPercentile: 0.08167
ingestedAt: '2026-11-05T18:28:50.701Z'
---

## Overview

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

- `gitea.dev < 28.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
