CVE-2024-54148
published 2024-12-23CVE-2024-54148: Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the…
PriorityP355critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.84%
53.2th percentile
Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| gogs.io | gogs | >= 0 < 0.13.1 | 0.13.1 |
| gogs | gogs | < 0.13.1 | 0.13.1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv4.08.7HIGHCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Remote Command Execution in file editing in gogs in gogs.io/gogs
osv·2025-01-07
CVE-2024-54148 Remote Command Execution in file editing in gogs in gogs.io/gogs
Remote Command Execution in file editing in gogs in gogs.io/gogs
Remote Command Execution in file editing in gogs in gogs.io/gogs
OSV
Remote Command Execution in file editing in gogs
osv·2024-12-23
CVE-2024-54148 [HIGH] Remote Command Execution in file editing in gogs
Remote Command Execution in file editing in gogs
### Impact
The malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server.
### Patches
Editing symlink while changing the file name has been prohibited via the repository web editor (https://github.com/gogs/gogs/pull/7857). Users should upgrade to 0.13.1 or the latest 0.14.0+dev.
### Workarounds
No viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions.
### References
n/a
### Proof of Concept
1. Create two repositories, upload something to the first repository, edit any file, and save it on the webpage.
2. In the second repository, create a symbolic link to the file you need to edit:
```bash
$ ln -s /data/gogs/data/tmp/
GHSA
Remote Command Execution in file editing in gogs
ghsa·2024-12-23
CVE-2024-54148 [HIGH] CWE-22 Remote Command Execution in file editing in gogs
Remote Command Execution in file editing in gogs
### Impact
The malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server.
### Patches
Editing symlink while changing the file name has been prohibited via the repository web editor (https://github.com/gogs/gogs/pull/7857). Users should upgrade to 0.13.1 or the latest 0.14.0+dev.
### Workarounds
No viable workaround available, please only grant access to trusted users to your Gogs instance on affected versions.
### References
n/a
### Proof of Concept
1. Create two repositories, upload something to the first repository, edit any file, and save it on the webpage.
2. In the second repository, create a symbolic link to the file you need to edit:
```bash
$ ln -s /data/gogs/data/tmp/
No detection rules found.
No public exploits indexed.
Wiz
Gogs Zero-Day RCE (CVE-2025-8110) Actively Exploited | Wiz Blog
blogs_wiz·2025-12-10·CVSS 8.7
CVE-2025-8110 [HIGH] Gogs Zero-Day RCE (CVE-2025-8110) Actively Exploited | Wiz Blog
# Executive Summary
- While investigating a malware infection on a customer workload, Wiz Research discovered an active zero-day vulnerability in Gogs, a popular self-hosted Git service.
- A symlink bypass (CVE-2025-8110) of a previously patched RCE (CVE-2024-55947) allows authenticated users to overwrite files outside the repository, leading to Remote Code Execution (RCE).
- We identified over 700 compromised instances public-facing on the internet.
- Update: As of January 23, 2026, a fix has been issued in version v0.13.4.
# Introduction
On July 10th, the Wiz Threat Research team observed malware findings on public-facing instances of Gogs, a popular self-hosted Git service. What began as a routine investigation into an infected machine turned into the accidental discovery of a live z
Wiz
Gogs Zero-Day RCE (CVE-2025-8110) Actively Exploited | Wiz Blog
blogs_wiz·2025-12-10·CVSS 8.7
CVE-2025-8110 [HIGH] Gogs Zero-Day RCE (CVE-2025-8110) Actively Exploited | Wiz Blog
## Executive Summary
While investigating a malware infection on a customer workload, Wiz Research discovered an active zero-day vulnerability in Gogs, a popular self-hosted Git service.
A symlink bypass (CVE-2025-8110) of a previously patched RCE (CVE-2024-55947) allows authenticated users to overwrite files outside the repository, leading to Remote Code Execution (RCE).
We identified over 700 compromised instances public-facing on the internet.
Update: As of January 23, 2026, a fix has been issued in version v0.13.4.
## Introduction
On July 10th, the Wiz Threat Research team observed malware findings on public-facing instances of Gogs, a popular self-hosted Git service. What began as a routine investigation into an infected machine turned into the accidental discovery of a live zero
2024-12-23
Published