All vulnerabilities

Servers and applications

CVE-2025-68940

In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.

Severity
Medium 5.3
Published
26 Dec 2025
Last changed
13 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.22.5
Exploit chance
0.3% in the next 30 daysHigher than 19% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Incorrect authorization (CWE-863)
Attack
Over the network · No login needed · No user action needed
Attacker can
Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Sources
NVD

Affected software

SoftwareAffected versions
GiteaServers and applications · cpe:a:gitea:gitea
  • Every version before 1.22.5

About Gitea

free forge based on git written in Go

From Wikidata, CC0 1.0.
Docker Hub pulls
395,154,663Docker Hub, 15 Nov 2026
GitHub stars
59,090GitHub, 15 Nov 2026
Forks
7,394GitHub, 15 Nov 2026
Latest release
v28.3.0GitHub, 15 Nov 2026
Released
1 Nov 2026GitHub
Developer
Jiahua ChenWikidata
License
MIT LicenseWikidata
Written in
Go, JavaScriptWikidata
First released
17 Oct 2016Wikidata
First published on GitHub
1 Nov 2016GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2025-68940
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2025-68940