{"id":"CVE-2025-68940","title":"In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.","summary":"In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.","severity":"low","cvss":3.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","cwe":["CWE-863"],"vendor":"gitea","product":"gitea","affected":["gitea < 1.22.5"],"patched":["gitea 1.22.5"],"published":"2025-12-26","updated":"2026-10-13","sourceUpdated":"2026-10-13T10:10:00.193","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-68940","references":[{"url":"https://blog.gitea.com/release-of-1.22.5/","label":"cve@mitre.org"},{"url":"https://github.com/go-gitea/gitea/pull/32654","label":"cve@mitre.org"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.5","label":"cve@mitre.org"}],"tags":["nvd"],"epss":0.00272,"epssPercentile":0.1811,"ingestedAt":"2026-10-13T10:22:03.522Z","slug":"CVE-2025-68940","body":"## Overview\n\nIn Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.\n\n## Affected\n\n- `gitea < 1.22.5`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 1.22.5`","depth":"sunlit","depthScore":17,"depthScoreParts":{"impact":17.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}