Critical RCE Vulnerability in Gogs: Remote Code Execution via Malicious Pull Requests
GoYou Flash Briefing

Critical RCE Vulnerability in Gogs: Remote Code Execution via Malicious Pull Requests

May 29, 2026
2:05
E1168
-(0)

About this episode

A critical argument injection vulnerability in Gogs, a popular open-source self-hosted Git service, allows authenticated users to achieve remote code execution (RCE) on the server. The exploit involves creating a pull request with a malicious branch name that injects the --exec flag into git rebase during the merge operation. This vulnerability, scored as CVSSv4 9.4 (Critical), enables attackers to compromise the server, read every repository, dump credentials, pivot to other systems, and modify hosted repository code. The vulnerability affects Gogs versions 0.14.2 and 0.15.0+dev, with no patch available at the time of publication.

Comments

Rate this episode

Episode Details

Show Type
full
Audio Format
audio/mpeg

We use analytics

We use Umami, a privacy-friendly analytics tool, to understand how visitors use this site. No personal data is collected and no data leaves our EU servers. You can accept or decline below. Privacy Policy