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

CVE-2025-68941: Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources

December 26, 2025

Gitea before 1.22.3 mishandles access to a private resource upon receiving an API token with scope limited to public resources.

References

  • blog.gitea.com/release-of-1.22.3
  • github.com/advisories/GHSA-xfq3-qj7j-4565
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/pull/32218
  • github.com/go-gitea/gitea/releases/tag/v1.22.3
  • nvd.nist.gov/vuln/detail/CVE-2025-68941

Code Behaviors & Features

Detect and mitigate CVE-2025-68941 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.22.3

Fixed versions

  • 1.22.3

Solution

Upgrade to version 1.22.3 or above.

Impact 4.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/code.gitea.io/gitea/CVE-2025-68941.yml

Spotted a mistake? Edit the file on GitLab.

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

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