Description
Improper Symbolic link handling in the PutContents API in Gogs allows Local Execution of Code.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gogs | Gogs | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20251230T014957-150000.1.134.1 | SUSE-SU-2026:0037-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 23 repositories · most starred shown
-
zAbuQasem/gogs-CVE-2025-8110 ★ 30 · Dec 13, 2025
CVE-2025-8110 PoC
-
rxerium/CVE-2025-8110 ★ 22 · Dec 11, 2025
Detection template for CVE-2025-8110
-
joaquinrrr/CVE-2025-8110 ★ 5 · Jun 25, 2026
PoC exploit for CVE-2025-8110
-
Ghxstsec/CVE-2025-8110 ★ 5 · Apr 11, 2026
PoC for CVE-2025-8110 — authenticated RCE in Gogs via symlink bypass in PutContents API (Metasploit PR #22115)
-
Shirouuu/CVE-2025-8110-gogs-poc ★ 4 · Jul 17, 2026
PoC for CVE-2025-8110 - Gogs arbitrary file write via symlink
-
kayl22/cve-2025-8110-GOGS-RCE ★ 4 · Apr 11, 2026
GOGS RCE cve-2025-8110 python script that automates the whole attack chain of creating a repository with a symlink file pointing to .git/config and then triggering rce via a poisoned sshCommand on th…
-
3jee/CVE-2025-8110 ★ 2 · Apr 11, 2026
CVE-2025-8110 — Gogs <= 0.13.3 Arbitrary File Write via Symlink Traversal in PutContents API
-
ixZODiAK/CVE-2025-8110 ★ 1 · Jul 21, 2026
Gogs service Exploit and get the root user
-
0dgt/CVE-2025-8110 ★ 1 · Apr 12, 2026
RCE exploit for Gogs <= 0.13.3
-
George0Papasotiriou/CVE-2025-8110-Gogs-Remote-Code-Execution ★ 1 · Feb 10, 2026
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Gogs <= 0.13.3 - Remote Code Execution http/cves/2025/CVE-2025-8110.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | gogs.io/gogs | <= 0.13.3 | — | GHSA-mq8m-42gh-wq7r |
| Go | gogs.io/gogs | all versions | — | GO-2025-4225 |
Advisories 3
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- SUSE-SU-2026:0037-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Mar 23, 2026
- WID-SEC-2025-2821 Gogs: Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Dec 15, 2025