SB2026020959 - Multiple vulnerabilities in gogs
Published: February 9, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 7 secuirty vulnerabilities.
1) OS Command Injection (CVE-ID: CVE-2025-64111)
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation in repository put contents API. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
2) Path traversal (CVE-ID: CVE-2026-23633)
The vulnerability allows a remote user to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in Git hook editing. A remote administrator can send a specially crafted HTTP request and read/write arbitrary files on the system.
3) Missing Authorization (CVE-ID: CVE-2026-23632)
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to missing authorization in the "PUT /repos/:owner/:repo/contents/*" endpoint. A remote user can modify repository contents.
4) Path traversal (CVE-ID: CVE-2026-24135)
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in the "updateWikiPage" function. A remote user can send a specially crafted HTTP request and delete arbitrary files on the system.
5) Missing Authorization (CVE-ID: CVE-2026-22592)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to missing authorization in repository mirror sync. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.
6) Improper access control (CVE-ID: CVE-2025-65852)
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.
7) Improper Authentication (CVE-ID: CVE-2025-64175)
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to an error when processing authentication requests within the "UseRecoveryCode" function. A remote attacker can bypass authentication process and gain unauthorized access to the application.
Remediation
Install update from vendor's website.
References
- https://github.com/gogs/gogs/security/advisories/GHSA-gg64-xxr9-qhjp
- https://github.com/gogs/gogs/security/advisories/GHSA-mrph-w4hh-gx3g
- https://github.com/gogs/gogs/security/advisories/GHSA-5qhx-gwfj-6jqr
- https://github.com/gogs/gogs/security/advisories/GHSA-jp7c-wj6q-3qf2
- https://github.com/gogs/gogs/security/advisories/GHSA-cr88-6mqm-4g57
- https://github.com/gogs/gogs/security/advisories/GHSA-rjv5-9px2-fqw6
- https://github.com/gogs/gogs/security/advisories/GHSA-p6x6-9mx6-26wj