• News/
  • bleepingcomputer-20260608161840

Gogs patches critical zero-day enabling remote code execution

BleepingComputer
·
Sergiu Gatlan
·
Published Jun 8, 2026
·
Updated

Gogs has patched a critical security zero-day flaw that can allow attackers to compromise Internet-facing instances and access any repositories (including private ones). This argument injection vulnerability has yet to be assigned a CVE ID, can only be exploited by authenticated attackers without admin privileges, and affects all Gogs releases up to and including 0.14.2 and 0.15.0+dev. They can exploit this vulnerability to compromise the targeted server, read any repository (including private repos), steal credentials, move laterally to other systems on the network, and alter any hosted source code. While threat actors would need at least basic user privileges to exploit the flaw, Rapid7 security researcher Jonah Burgess (who discovered and reported it) said it affects all Gogs servers with default configurations. "Since Gogs ships with open registration enabled by default (DISABLE_REGISTRATION = false) and no limit on repository creation (MAX_CREATION_LIMIT = -1), an unauthenticated attacker can simply create an account and repository on any default-configured instance," Burgess warned two weeks ago. "Any registered user who creates a repo is automatically its owner. From there, enabling rebase merging is a single toggle in settings, and the entire exploit chain can be operated without interaction from any other user." Over the weekend, 10 days after the cybersecurity company publicly disclosed it following a lack of response to multiple status updates, the Gogs maintainer...

Read full article

Affected Software

1 affected component
Gogs Gogs<=0.14.2, =0.15.0+dev
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the main topic of this article?

The article discusses a critical zero-day vulnerability in Gogs that could enable remote code execution.

2

What security implications are discussed in the article?

The vulnerability could allow authenticated attackers to compromise Internet-facing Gogs instances and access private repositories.

3

What type of vulnerability is addressed in this article?

The article focuses on an argument injection vulnerability that has not yet received a CVE ID.

4

Who can exploit the vulnerability mentioned in the article?

The vulnerability can only be exploited by authenticated attackers.

5

What software is affected by this zero-day flaw?

The affected software is Gogs, a self-hosted Git service.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203