Live threats

All CVEs / Gitea

CVE-2025-68940Gitea

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Dec 26, 2025
Updated
Oct 13, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Gitea.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go code.gitea.io/gitea < 1.22.5 1.22.5 go get code.gitea.io/gitea@v1.22.5
Go code.gitea.io/gitea < 1.22.5 1.22.5 go get code.gitea.io/gitea@v1.22.5

Per OSV / GitHub Advisories (GHSA-rrcw-5rjv-vj26, GO-2025-4267). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
giteagitea< 1.22.5

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.