Improper access control in gogs - CVE-2025-65852

 

Improper access control in gogs - CVE-2025-65852

Published: February 9, 2026 / Updated: February 9, 2026


Vulnerability identifier: #VU122463
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-65852
CWE-ID: CWE-284
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.

The vulnerability exists due to improper access restrictions in repository deletion API. A remote user can bypass implemented security restrictions and delete the entire repository.


Affected software

gogs

How to mitigate CVE-2025-65852

Install updates from vendor's website.

gogs - addressed in versions 0.13.4, 0.14.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins