Gitea 1.22.5: Branch Deletion Permissions Not Properly Enforced
CVE-2025-68940 Published on December 26, 2025
In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.
Vulnerability Analysis
CVE-2025-68940 is exploitable 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 no impact on confidentiality, with no impact on integrity, and no impact on availability.
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-68940 has been classified to as an AuthZ vulnerability or weakness.
Products Associated with CVE-2025-68940
Want to know whenever a new CVE is published for Gitea? stack.watch will email you.
Affected Versions
Gitea:- Before 1.22.5 is affected.
Exploit Probability
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.