Security mailing lists by PureSourceCode

CVE-2026-25120

MEDIUM 5.1CVSS 4.0

Gogs Allows Cross-Repository Comment Deletion via DeleteComment

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
19 Feb 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-639
Also known as
GHSA-jj5m-h57j-5gv7GO-2026-4501
Sources
NVDJSONOSV GHSA-jj5m-h57j-5gv7JSONOSV GO-2026-4501JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 LOW 2.7 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gogs gogs
cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*
< 0.14.0 0.14.0
OSV Go gogs.io/gogs < 0.14.0 0.14.0
OSV Go gogs.io/gogs all versions

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 19 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Feb 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.