{"cve":"CVE-2026-25120","nvd":{"published":"2026-02-19T07:17:45.203","modified":"2026-06-17T10:24:08.540","status":"Analyzed","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":5.1},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N","score":2.7},"cwes":["CWE-639"],"references":["https://github.com/gogs/gogs/commit/1b226ca48dc8b3e95cc1c41229d72819c960a1b7","https://github.com/gogs/gogs/security/advisories/GHSA-jj5m-h57j-5gv7"],"products":["gogs:gogs"],"source":"nvd","synced_at":"2026-10-19T22:23:35.260773158+00:00"},"epss":{"cve":"CVE-2026-25120","score":0.00305,"percentile":0.23374,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-jj5m-h57j-5gv7","url":"https://osv.dev/vulnerability/GHSA-jj5m-h57j-5gv7","summary":"Gogs Allows Cross-Repository Comment Deletion via DeleteComment","modified":"2026-02-23T19:41:02.818353Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["<0.14.0"],"fixed":["0.14.0"]}]},{"id":"GO-2026-4501","url":"https://osv.dev/vulnerability/GO-2026-4501","summary":"Gogs Allows Cross-Repository Comment Deletion via DeleteComment in gogs.io/gogs","modified":"2026-02-23T19:41:02.818353Z","packages":[{"ecosystem":"Go","name":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","ranges":["all versions"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}