CVE-2025-68941Incorrect Authorization in Gitea

Severity
5.3MEDIUMNVD
EPSS
0.0%
top 98.02%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 26
Latest updateDec 30

Description

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NExploitability: 3.9 | Impact: 1.4

Affected Packages2 packages

NVDgitea/gitea< 1.22.3
Gocode.gitea.io/gitea< 1.22.3

Patches

🔴Vulnerability Details

3
OSV
Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources in code.gitea.io/gitea2025-12-30
GHSA
Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources2025-12-26
OSV
Gitea mishandles access to a private resource upon receiving an API token with scope limited to public resources2025-12-26

📋Vendor Advisories

1
Red Hat
gitea: Gitea: Unauthorized access to private resources via public-scoped API tokens2025-12-26

🕵️Threat Intelligence

1
Wiz
CVE-2025-68941 Impact, Exploitability, and Mitigation Steps | Wiz