• News/
  • https://www.bleepingcomputer.com/news/security/unpatched-gogs-zero-day-rce-flaw-actively-exploited-in-attacks/

Hackers exploit unpatched Gogs zero-day to breach 700 servers

BleepingComputer
·
Sergiu Gatlan
·
Published Dec 11, 2025
·
Updated

An unpatched zero-day vulnerability in Gogs, a popular self-hosted Git service, has enabled attackers to gain remote code execution on Internet-facing instances and compromise hundreds of servers. Written in Go and designed as an alternative to GitLab or GitHub Enterprise, Gogs is also often exposed online for remote collaboration. CVE-2025-8110, the Gogs RCE vulnerability exploited in these attacks, stems from a path traversal weakness in the PutContents API. The flaw allows threat actors to bypass the protections implemented for a previously patched remote code execution bug (CVE-2024-55947) by using symbolic links to overwrite files outside the repository. While Gogs versions that addressed the CVE-2024-55947 security bug now validate path names to prevent directory traversal, they still fail to validate the destination of symbolic links. Attackers can abuse this by creating repositories containing symbolic links pointing to sensitive system files, and then using the PutContents API to write data through the symlink, overwriting targets outside the repository. By overwriting Git configuration files, specifically the sshCommand setting, attackers can force target systems to execute arbitrary commands. Wiz Research discovered the vulnerability in July while investigating a malware infection affecting a customer's Internet-facing Gogs server. In total, the researchers found over 1,400 Gogs servers exposed online, with more than 700 instances showing signs of compromise. ​All...

Read full article

Affected Software

1 affected component
Gogs Gogs>=0.0, <CVE-2024-55947
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 the exploitation of an unpatched zero-day vulnerability in Gogs, leading to remote code execution on numerous servers.

2

What security implications are discussed?

The zero-day vulnerability allows attackers to gain unauthorized access and control over Internet-facing Gogs instances.

3

What products or software are affected?

The affected software is Gogs, specifically versions from 0.0 up until before CVE-2024-55947.

4

How many servers have been breached due to this vulnerability?

Attackers have compromised around 700 servers due to the Gogs vulnerability.

5

What measures should users take in response to this threat?

Users should immediately check their Gogs installations for the vulnerability and apply any available patches or mitigations.

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