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-53519 — Docker lab reproducing CVE-2026-53519, a pre-auth path traversal in Nezha Dashboard that leaks jwt_secret_key and enables JWT forgery and admin takeover. | Kitploit
Tools/GitHubGitHub/ivanesk315/cve-2026-53519
Vulnerability AnalysisExploitationWeb Application ExploitationSecurity VirtualizationPenetration TestingAuthenticationLearning & EducationLabs & Practice
GitHubivanesk315/cve-2026-53519

CVE-2026-53519

Docker lab reproducing CVE-2026-53519, a pre-auth path traversal in Nezha Dashboard that leaks jwt_secret_key and enables JWT forgery and admin takeover.

402 months agoNot yet reviewed
View Repository
Share

Lab CVE-2026-53519 - Nezha Dashboard pre-auth path traversal

Lab tai hien lo hong pre-auth path traversal via /dashboard.. prefix confusion trong Nezha Dashboard, dan toi leak jwt_secret_key -> forge JWT -> chiem quyen admin. Moi truong Docker, tach A/B theo version de so sanh vuln vs patched.

ImageURL (loopback)Ket qua ky vong
Vulnerableghcr.io/nezhahq/nezha:v2.0.12http://127.0.0.1:9090leak config.yaml, chiem admin
Patchedghcr.io/nezhahq/nezha:v2.0.13http://127.0.0.1:9091bi chan (404)

Both bind to 127.0.0.1, not exposed to the LAN. Default admin login: admin / admin.

Requirements

  • Docker Desktop (running)
  • PowerShell 5.1+
  • Python 3 (python) - to parse the leaked sqlite.db (with fallback if missing)

Run the lab

# 1. Seed data + bring up 2 containers (vuln 8080, patched 8081)
.\lab.ps1 reset

# 2. Quick smoke check
.\lab.ps1 validate

# 3. Chuoi khai thac day du tren VULN
powershell -ExecutionPolicy Bypass -File .\poc\poc-cve-2026-53519.ps1

# 4. Doi chung tren PATCHED (mong doi: bi chan)
powershell -ExecutionPolicy Bypass -File .\poc\poc-cve-2026-53519.ps1 -Patched

# 5. Negative controls (vi sao dung bien the nay moi leak)
powershell -ExecutionPolicy Bypass -File .\poc\negative-controls.ps1

Management commands:

.\lab.ps1 start | stop | status | logs [vuln|patched]

Exploitation chain (summary)

  1. Stage 1 - Path traversal (pre-auth) GET /dashboard../data/config.yaml -> leak jwt_secret_key. GET /dashboard../data/sqlite.db -> lay user id admin (id=1).
  2. Stage 2 - JWT forgery Ky HS256 {user_id:"1", ip:"", exp:<future>} bang secret leak -> Authorization: Bearer <token> -> GET /api/v1/profile (xac thuc) va GET /api/v1/user (endpoint chi-admin) -> admin takeover.

Detailed root cause: see analysis/ROOT_CAUSE.md and analysis/vuln-vs-patch.diff. Full report: REPORT_CVE_2026_53519.md.

Structure

docker-compose.yml           # A/B vuln (8080) vs patched (8081)
seed/config.yaml             # seed fixed jwt_secret_key (deterministic)
seed/lab_canary.txt          # canary to demonstrate file read
lab.ps1 / lab-common.ps1     # management + helpers (raw HTTP, forge JWT HS256)
poc/poc-cve-2026-53519.ps1   # full exploitation chain
poc/negative-controls.ps1    # controls for blocked variants
poc/parse_users.py           # parse leaked sqlite.db -> admin user id
analysis/ROOT_CAUSE.md       # analysis + patch
analysis/vuln-vs-patch.diff  # diff controller.go v2.0.12 -> v2.0.13
evidence/                    # output from each run (leaked-config, token, userlist...)

Safety notes

The lab is for research/education in a local environment only. jwt_secret_key in seed/config.yaml is a fake value, for demo purposes only. Do not use this vulnerable image/version in production.

Sources

  • Original PoC: https://github.com/tar-xz/CVE-2026-53519-PoC
  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-53519
  • Nezha: https://github.com/nezhahq/nezha
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.

    576
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    477
  • 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.

    388
  • 4

    redforge

    cybersecurity91/redforge

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

    330
  • 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.

    255
  • 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.

    247

Explore all tools

Browse our collection of tools

View all tools →