{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-68940","id":"CVE-2025-68940","title":"Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.","description":"In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.","descriptionLong":"In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.","published":"2025-12-26T02:14:52.076Z","updated":"2026-10-28T02:30:54.599207543Z","reserved":"2025-12-26T02:14:51.782Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"mitre"},"metrics":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"mitre"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"mitre.org"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["Gitea"],"affectedProducts":[{"vendor":"Gitea","product":"Gitea","defaultStatus":"unaffected","versions":[{"lessThan":"1.22.5","status":"affected","version":"0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","ranges":["<1.22.5"],"fixed":["1.22.5"],"advisory":"GHSA-rrcw-5rjv-vj26"}],"cwes":["CWE-863"],"aliases":["BIT-gitea-2025-68940","GHSA-rrcw-5rjv-vj26","GO-2025-4267"],"references":[{"url":"https://blog.gitea.com/release-of-1.22.5/","tags":["Release Notes","article"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.22.5","tags":["Release Notes","web"]},{"url":"https://github.com/go-gitea/gitea/pull/32654","tags":["Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68940.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68940","tags":["advisory"]},{"url":"https://blog.gitea.com/release-of-1.22.5","tags":["web"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"]},{"url":"https://github.com/advisories/GHSA-rrcw-5rjv-vj26","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00272,"epssPercentile":0.19938,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-68940","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68940","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-68940","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rrcw-5rjv-vj26","ok":true,"note":"GHSA-rrcw-5rjv-vj26"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-68940","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}