Skip to main content
← Vulnerabilities

Gitea private repository listing to public-only tokens on profiles

Affects Gitea 28.2.0 and earlier, where a public-only personal access token can see names of private repositories on profile, stars and watching tabs. Fixed in 28.3.0.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Published
Last modified
Published
Not listed in CISA KEV
8/100 · provisional
Specific setups only
Fix
Fixed in 28.3.0
None on Exploit-DB, Metasploit or GitHub

Summary

Gitea, the self-hosted Git service, is affected. A personal access token limited to public resources could be used to see names and metadata of private repositories, along with the owner's stars and watches on them, through user profile pages and organization home pages, though repository contents were not exposed.

Read the original description

The repositories, stars and watching tabs of user profiles and the repository list of organization home pages included private repositories for every signed-in request without checking whether the request used a personal access token restricted to public resources (`public-only`). A holder of such a token could list the private repositories visible to the token's owner, and that user's stars and watches of private repositories. The API and the profile activity tab already applied the restriction. The impact is disclosure of repository names and metadata, not of repository content.

What to do

  • Check whether your setup matches what the bug needs.

    Caller uses a personal access token restricted to public resources (public-only). Affected Gitea versions are 28.2.0 and earlier, on the user profile repositories, stars and watching tabs and the organization equivalent.
  • Upgrade to a fixed version: 28.3.0.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • gitea.dev

    fixed in 28.3.0

Evidence 5

  1. Advisory
  2. Patch
  3. Patch
  4. Repository
  5. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

FAQ

Questions about CVE-2026-117646

What does this mean?

A holder of a public-only personal access token can discover the names of private repositories visible to the token owner, plus that user's stars and watches of private repositories. Repository content is not disclosed.Source: github.com, blog.gitea.com

Am I affected, and how do I check?

Gitea 28.2.0 and earlier, on user profile repositories, stars and watching tabs, and the organization equivalents. Check the installed Gitea version and whether tokens are restricted to public resources.Source: github.com, blog.gitea.com

What should I do about it?

Upgrade to Gitea 28.3.0. No workaround is listed in the available facts.Source: github.com, blog.gitea.com

Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.Source: cve.now feed data