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

CVE-2025-68944: Gitea sometimes mishandles propagation of token scope for access control within one of its own package registries

December 26, 2025

Gitea before 1.22.2 sometimes mishandles the propagation of token scope for access control within one of its own package registries.

References

  • blog.gitea.com/release-of-1.22.2
  • github.com/advisories/GHSA-f85h-c7m6-cfpm
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/pull/31967
  • github.com/go-gitea/gitea/releases/tag/v1.22.2
  • nvd.nist.gov/vuln/detail/CVE-2025-68944

Code Behaviors & Features

Detect and mitigate CVE-2025-68944 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.22.2

Fixed versions

  • 1.22.2

Solution

Upgrade to version 1.22.2 or above.

Impact 5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:18 +0000.