Check Point Advisories

Gogs Remote Code Execution

Check Point Reference: CPAI-2026-5607
Date Published: 28 May 2026
Severity: Critical
Last Updated: Thursday 28 May, 2026
Source:
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable? Gogs 0.14.2
Gogs 0.15.0+dev commit b53d3162
Vulnerability Description A remote code execution vulnerability exists in Gogs. Successfully exploiting this vulnerability would allow an authenticated attacker to create a request with a malicious base branch name, resulting in arbitrary command execution on the underlying server.

Protection Overview

This protection detects attempts to exploit this vulnerability.

In order for the protection to be activated, update your Security Gateway product to the latest IPS update. For information on how to update IPS, go to SBP-2006-05, click on Protection tab and select the version of your choice.

Security Gateway R81 / R80 / R77 / R75

  1. In the IPS tab, click Protections and find the Gogs Remote Code Execution protection using the Search tool and Edit the protection's settings.
  2. Install policy on all Security Gateways.

This protection's log will contain the following information:

Attack Name:  Web Server Enforcement Violation.
Attack Information:  Gogs Remote Code Execution

×
  Feedback
This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.
OK