
GUI Shodan-powered scanner to identify n8n instances exposed to CVE-2025-68613 (version range 0.211.0–1.122.0)
A Tkinter-based GUI tool to discover publicly exposed n8n instances via Shodan and test them for exposure to CVE‑2025‑68613 across a wide version range.
The scanner:
5678)./, /login, /workflow, /rest/healthz.⚠️ Legal notice
This tool is intended for security research, education, and testing of systems that you own or are explicitly authorised to test.
Scanning random hosts on the internet may violate laws or terms of service in your jurisdiction.
Use responsibly and at your own risk.
ThreadPoolExecutor and worker queues for high throughput.n8n_results.db) storing hosts and per-scan test results.www.shodan.io (polito cookie).[file:23]Shodan: search internet-facing hosts using Shodan queries.Scan IP range: reserved for future work (currently uses Shodan-style producer logic; keep Shodan selected)polito cookie value from browser dev tools (Domain: www.shodan.io).Then press Start Scan. To stop scanning, press Stop; the tool will finish processing in-flight tasks and update the stats.
Per host, the “Status” column can be:
0.211.0 and < 1.122.0).The “Endpoints” summary shows a compact view of the first few endpoints and their HTTP status codes, e.g.:
/:200; /login:200; /workflow:200.
n8n_results.db with two tables
n8n_hosts: one row per IP, with last-seen attributes.n8n_test_results: per-test results including status and endpoints JSON.[file:23]Key constants at the top of the script (class N8nScanner.__init__) control behaviour:
BASE_URL, FACET_URL: Shodan search endpoints.DEFAULT_PORT: default n8n port (5678).CONNECTION_TIMEOUT: HTTP timeout in seconds (default 15).MAX_WORKERS: number of consumer threads.VULN_MIN_VERSION, VULN_MAX_VERSION: version bounds for CVE‑2025‑68613.max_debug_html: how many HTML snapshots to save for debuggingShodan queries include favicon hashes, HTML signatures, cloud provider filters, and n8n-specific strings to improve hit rate.