{"id":"CVE-2026-25120","aliases":["GHSA-jj5m-h57j-5gv7","GO-2026-4501"],"url":"https://o3.security/vulnerability/CVE-2026-25120","summary":"Gogs Allows Cross-Repository Comment Deletion via DeleteComment","details":"Gogs is an open source self-hosted Git service. In versions 0.13.4 and below, the DeleteComment API does not verify that the comment belongs to the repository specified in the URL. This allows a repository administrator to delete comments from any other repository by supplying arbitrary comment IDs, bypassing authorization controls. The DeleteComment function retrieves a comment by ID without verifying repository ownership and the Database function DeleteCommentByID performs no repository validation. This issue has been fixed in version 0.14.0.","published":"2026-02-19T01:59:39.257Z","modified":"2026-08-07T11:50:41.927151744Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"gogs.io/gogs","fixedVersion":"0.14.0"}],"fix":{"url":"https://github.com/gogs/gogs/commit/1b226ca48dc8b3e95cc1c41229d72819c960a1b7","label":"gogs/gogs@1b226ca"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25120.json"},{"type":"ADVISORY","url":"https://github.com/gogs/gogs/security/advisories/GHSA-jj5m-h57j-5gv7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25120"},{"type":"FIX","url":"https://github.com/gogs/gogs/commit/1b226ca48dc8b3e95cc1c41229d72819c960a1b7"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-07T11:50:41.927151744Z"}}