Gitea <1.22.3: Limited-API-token can read private resources
CVE-2025-68941 Published on 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.

NVD

Vulnerability Analysis

CVE-2025-68941 can be exploited with network access, and requires small amount of user privileges. This vulnerability is consided to have a high level of attack complexity. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality and integrity, and no impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
HIGH
Privileges Required:
LOW
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
LOW
Integrity Impact:
LOW
Availability Impact:
NONE

Weakness Type

What is an AuthZ Vulnerability?

The software performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions.

CVE-2025-68941 has been classified to as an AuthZ vulnerability or weakness.


Products Associated with CVE-2025-68941

Want to know whenever a new CVE is published for Gitea? stack.watch will email you.

 

Affected Versions

Gitea:

Exploit Probability

EPSS
0.01%
Percentile
1.35%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.