0.0
NA
CVE-2026-52806
Gogs: RCE via git rebase --exec argument injection in pull request merge
Description

Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the "Rebase before merging" merge operation. This vulnerability is fixed in 0.14.3.

INFO

Published Date :

June 24, 2026, 8:21 p.m.

Last Modified :

June 24, 2026, 8:21 p.m.

Remotely Exploit :

No

Source :

GitHub_M
Affected Products

The following products are affected by CVE-2026-52806 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Update Gogs to version 0.14.3 or later to fix RCE via crafted branch names in pull requests.
  • Update Gogs to version 0.14.3 or later.
  • Avoid using specially crafted branch names in pull requests.
  • Review Gogs merge operations for security.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-52806 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.