Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2026-58434

CVE-2026-58434: Gitea: Private Repository Metadata Remains Accessible After Access Revocation

July 21, 2026

A user who previously had access to a private repository can continue to obtain repository metadata through GET /api/v1/user/starred after their access to the repository has been revoked.

After a collaborator is removed from a private repository, direct access to the repository is correctly denied. However, the repository may still appear in the user’s starred repository list, and the endpoint continues to return repository metadata. Changes made to that metadata after access revocation are also reflected in subsequent responses.

References

  • github.com/advisories/GHSA-j2w3-9c3r-g83q
  • github.com/go-gitea/gitea/commit/362539b78e50dfcc4bd1b9368fdd2a1b8cab0129
  • github.com/go-gitea/gitea/commit/500a09e044156d7a8d6eb58d67a28b8a1512c887
  • github.com/go-gitea/gitea/pull/38321
  • github.com/go-gitea/gitea/pull/38390
  • github.com/go-gitea/gitea/releases/tag/v1.27.0
  • github.com/go-gitea/gitea/security/advisories/GHSA-j2w3-9c3r-g83q
  • nvd.nist.gov/vuln/detail/CVE-2026-58434

Code Behaviors & Features

Detect and mitigate CVE-2026-58434 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.27.0

Fixed versions

  • 1.27.0

Solution

Upgrade to version 1.27.0 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-862: Missing Authorization

Source file

go/code.gitea.io/gitea/CVE-2026-58434.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:31 +0000.