CISA Flags Actively Exploited Gogs Vulnerability With No Patch
Vulnerabilities mentionedAll →
| CVE | Vulnerability | CVSS | EPSS | Flags | Affected | Exposure | Published |
|---|---|---|---|---|---|---|---|
| CVE-2024-55947 | Path Traversal File Write in Gogs Enables SSH Access (Actively Exploited) CVE-2024-55947 is a path traversal flaw (CWE-22) in Gogs, an open source self-hosted Git service, that allows a malicious user to write a file to an arbitrary path on the server. It requires only low privileges, so any authenticated Gogs user can trigger it over the network without user interaction, and by planting a file in a sensitive location — such as the service account's SSH authorized_keys — the attacker gains SSH access to the host, effectively compromising the server (high confidentiality, integrity, and availability impact per CVSS). All Gogs deployments running versions prior to 0.13.1 are affected. Exploitation is no longer theoretical: recent reporting describes active attacks hitting 700+ instances, and CISA has flagged the flaw as actively exploited, adding it to its Known Exploited Vulnerabilities catalog. EPSS assigns a 75.2% probability of exploitation within 30 days (99th percentile), underscoring elevated risk for exposed instances. Do: Upgrade all Gogs instances to 0.13.1 or later, which fixes this flaw, and treat the upgrade as urgent given active exploitation and the KEV listing. Check your deployed version, audit the host for rogue SSH keys and unexpected file writes (especially the git service account's authorized_keys), and review account activity and logs for signs of compromise. Until patched, limit network exposure of the Gogs service and the server's SSH port, and restrict account creation to trusted users. | 8.7 | 75% | PoC |
| moderateseveral thousand internet-exposed Gogs instances, with 700+ confirmed exploited in the current campaign | |
| CVE-2025-8110 | Actively Exploited Path Traversal RCE in Gogs (PutContents API) CVE-2025-8110 is a path-traversal flaw (CWE-22) caused by improper symbolic-link handling in the PutContents API of the self-hosted Git service Gogs. An attacker with low-privileged access to the API can abuse symlinks so that file operations escape the intended directory, resulting in code execution on the server hosting Gogs. Because the attack works over the network with only low privileges and no user interaction, any Gogs deployment whose API is reachable — particularly internet-facing instances — is exposed. This is a zero-day: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-01-12 after reports of active attacks against 700+ instances, and at the time of the KEV listing no official patch was available, though a fix was in progress in Gogs pull request #8078. EPSS assigns an 82.5% probability of exploitation within 30 days (100th percentile), and CISA's required action is to apply vendor mitigations, follow BOD 22-01 guidance for cloud services, or discontinue use if mitigations are unavailable. Do: Because no official patch was released at the time of the KEV listing, track gogs/gogs PR #8078 and upgrade to the fixed release as soon as it ships; in the interim, follow CISA's required action by applying vendor mitigations or restricting or discontinuing internet exposure of Gogs instances. Reduce attack surface by limiting low-privileged account access to the PutContents/write APIs and firewalling Gogs servers, and hunt for indicators of compromise on any internet-facing Gogs deployment given confirmed attacks against 700+ instances. | 8.7 | 82% | KEV PoC ×3 |
| moderate≈700+ instances confirmed exploited; the broader population of internet-exposed Gogs deployments is likely in the thousands to tens of thousands (estimate) |
Full article397 words · extracted from infosecurity-magazine.com · click to collapse
A high-severity security flaw affecting the self-hosted Git service Gogs is being actively exploited, prompting a warning from the US Cybersecurity and Infrastructure Security Agency (CISA).
The issue has now been added to CISA’s Known Exploited Vulnerabilities (KEV) catalog, signaling confirmed attacks in real-world environments.
Tracked as CVE-2025-8110 and rated 8.7 on the CVSS v4.0 scale, the vulnerability stems from improper handling of symbolic links in Gogs’ PutContents API.
The flaw allows authenticated users to overwrite files outside a repository, which can lead directly to remote code execution (RCE).
Exploitation at Scale
The vulnerability was uncovered by Wiz researchers while investigating a malware infection on a customer’s system. Their analysis revealed that attackers were abusing the flaw as a zero-day, bypassing protections introduced last year for a similar issue, CVE-2024-55947.
By committing a symbolic link inside a repository and then writing to it through the API, attackers can force the underlying operating system to overwrite sensitive files elsewhere on the server. One common target is the Git configuration file, where modifying the sshCommand setting can grant arbitrary code execution.
Wiz reported identifying more than 700 compromised Gogs instances. Data from Censys suggests 1602 Gogs servers are currently exposed to the internet, with the highest concentrations in China, the US and Germany.
Ongoing Risk
There is currently no official patch available for CVE-2025-8110, although code changes addressing the issue have been submitted to the project’s main branch.
One maintainer indicated that once new images are built, both the latest and next-latest Gogs releases will include a fix.
Read more on Git service security: Misconfigured Git Configurations Targeted in Emeraldwhale Attack
In the meantime, attackers continue to exploit the flaw. Wiz observed multiple waves of activity beginning in July 2025, with malware payloads linked to the Supershell command-and-control (C2) framework deployed across affected servers.
Recommended Mitigations
CISA has directed Federal Civilian Executive Branch agencies to apply mitigations by February 2 2026. For other organizations running Gogs, researchers recommend immediate defensive steps:
-
Disable open registration if it is not required
-
Restrict access to Gogs servers using a VPN or IP allow-list
-
Monitor for repositories with random eight-character names or unusual API usage
The vulnerability affects Gogs versions up to 0.13.3 and can be exploited on any system running those releases. Until a patch is widely available, administrators are urged to assume exposed instances are at high risk and act accordingly.
Text extracted automatically; images, tables and formatting may be missing. Original: https://www.infosecurity-magazine.com/news/cisa-flags-exploited-gogs-flaw-no/