Skip to content
OpenAdvisories
Medium · 4.9 CVE-2025-68941 BIT-gitea-2025-68941EUVD-2025-205408GHSA-xfq3-qj7j-4565GO-2025-4268

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

Published Dec 26, 2025 · Updated Dec 26, 2025 · Assigned by mitre

Description

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

Affected products

VendorProductAffectedFixed
Gitea Gitea < 1.22.3 1.22.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251230T014957-150000.1.134.1 SUSE-SU-2026:0037-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.22.3 1.22.3 GHSA-xfq3-qj7j-4565

Advisories 3

References