{"id":"GHSA-rrcw-5rjv-vj26","summary":"Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.","details":"In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.","aliases":["BIT-gitea-2025-68940","CVE-2025-68940","GO-2025-4267"],"modified":"2026-01-03T12:26:01.199833Z","published":"2025-12-26T03:30:15Z","database_specific":{"cwe_ids":["CWE-863"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2025-12-26T19:12:24Z","nvd_published_at":"2025-12-26T03:15:50Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68940"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/32654"},{"type":"WEB","url":"https://blog.gitea.com/release-of-1.22.5"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.5"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.22.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/12/GHSA-rrcw-5rjv-vj26/GHSA-rrcw-5rjv-vj26.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}