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

CVE-2026-25714: Gitea: Incomplete CVE-2025-68941 fix: /user/orgs missing checkTokenPublicOnly + switch-case logic flaw

June 16, 2026

Two related issues in the token public-only scope enforcement introduced by PR #32204 (CVE-2025-68941 fix). A public-only scoped API token can access private organization data.

References

  • github.com/advisories/GHSA-8629-vc8r-5p58
  • github.com/go-gitea/gitea/security/advisories/GHSA-8629-vc8r-5p58
  • nvd.nist.gov/vuln/detail/CVE-2026-25714

Code Behaviors & Features

Detect and mitigate CVE-2026-25714 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.26.2

Fixed versions

  • 1.26.2

Solution

Upgrade to version 1.26.2 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-862: Missing Authorization

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 23 Jun 2026 12:22:23 +0000.