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

CVE-2026-58429: Gitea: Public-Only Personal access tokens scope bypass in Organization and Permission Endpoints

July 21, 2026

A personal access token restricted with the public-only scope can still retrieve private organization membership and organization permission details for its own account through organization-listing endpoints. This bypass breaks the intended guarantee that such tokens are limited to public resources only.

References

  • github.com/advisories/GHSA-fq2p-5p22-8g6j
  • github.com/go-gitea/gitea/commit/a34eac5ef42ada433a7c7dafb98f15c13d7ad74e
  • github.com/go-gitea/gitea/commit/f2a1271f164569264c378fad720b0c000fff3336
  • github.com/go-gitea/gitea/pull/37118
  • github.com/go-gitea/gitea/pull/37773
  • github.com/go-gitea/gitea/releases/tag/v1.27.0
  • github.com/go-gitea/gitea/security/advisories/GHSA-fq2p-5p22-8g6j
  • nvd.nist.gov/vuln/detail/CVE-2026-58429

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.27.0

Fixed versions

  • 1.27.0

Solution

Upgrade to version 1.27.0 or above.

Impact 4.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-1259: Improper Restriction of Security Token Assignment
  • CWE-284: Improper Access Control

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:58 +0000.