SB2026020959 - Multiple vulnerabilities in gogs



SB2026020959 - Multiple vulnerabilities in gogs

Published: February 9, 2026

Security Bulletin ID SB2026020959
Severity
High
Patch available
YES
Number of vulnerabilities 7
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

High 29% Medium 57% Low 14%
  • 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.