Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ghes-cve-scanner — Scans GitHub Enterprise Server instances for CVE-2026-3854 and CVE-2026-4821, providing version-based detection with batch scanning and multiple output formats. | Kitploit
Tools/GitHubGitHub/isagoakira/ghes-cve-scanner
Cloud Infrastructure SecurityDefensive ToolsVulnerability ScannersConfiguration AuditingNetwork Security
GitHubisagoakira/ghes-cve-scanner

ghes-cve-scanner

Scans GitHub Enterprise Server instances for CVE-2026-3854 and CVE-2026-4821, providing version-based detection with batch scanning and multiple output formats.

View Repository
3 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

GHES CVE Scanner

Detects whether GitHub Enterprise Server (GHES) instances are affected by CVE-2026-3854 and CVE-2026-4821.

CVE Background

CVE-2026-3854 (CVSS 8.7)

Git Push RCE — The babeld component does not sanitize semicolons in git push options, allowing remote code execution.

Affected versions:

MajorAffected RangeMinimum Safe Version
3.14.x<= 3.14.243.14.25
3.15.x<= 3.15.193.15.20
3.16.x<= 3.16.153.16.16
3.17.x<= 3.17.123.17.13
3.18.x<= 3.18.63.18.7
3.19.x<= 3.19.33.19.4
3.20.x+Not affected—

CVE-2026-4821 (CVSS 7.2)

Management Console Proxy Injection — Proxy configuration fields do not sanitize shell metacharacters.

Affected versions:

  • 3.20.0
  • 3.15.x <= 3.15.20
  • 3.14.x and all earlier versions

Fixed in: 3.20.1, 3.15.21

Installation

Option 1: pip

root@kitploit:~
pip install ghes-cve-scanner

Option 2: From source

root@kitploit:~
git clone https://github.com/isagoakira/ghes-cve-scanner.git
cd ghes-cve-scanner
pip install -e .

Usage

Single instance scan

root@kitploit:~
python scanner.py scan https://ghes.company.com

Batch scan

root@kitploit:~
python scanner.py scan-batch instances.csv -o report.html

CSV format

root@kitploit:~
url,ip,port
https://ghes1.company.com,10.0.1.1,443
https://ghes2.company.com,10.0.1.2,443

CLI Options

Global options

OptionDescriptionDefault
--timeout NHTTP timeout in seconds5
--retries NNumber of retries2
--verbose, -vEnable verbose outputfalse

scan subcommand

OptionDescription
urlGHES instance URL
--cve-only CVE_IDScan only specified CVE
--format, -fOutput format (console/json/csv/html)
--output, -oOutput file path
--exit-codeEnable exit codes

scan-batch subcommand

OptionDescription
fileCSV file path
--url-column NURL column index
--ip-column NIP column index
--port-column NPort column index
--format, -fOutput format
--output, -oOutput file path
--workers NMax parallel threads
--exit-codeEnable exit codes

Exit Codes

CodeMeaning
0All instances are safe
1At least one instance is vulnerable
2At least one instance could not be scanned

Version Quick Reference

GHES VersionCVE-2026-3854CVE-2026-4821
3.14.0 - 3.14.24VULNERABLEVULNERABLE
3.14.25+SAFEVULNERABLE
3.15.0 - 3.15.20VULNERABLEVULNERABLE
3.15.21+SAFESAFE
3.16.0 - 3.16.15VULNERABLEVULNERABLE
3.16.16+SAFEVULNERABLE
3.17.0 - 3.17.12VULNERABLEVULNERABLE
3.17.13+SAFEVULNERABLE
3.18.0 - 3.18.6VULNERABLEVULNERABLE
3.18.7+SAFEVULNERABLE
3.19.0 - 3.19.3VULNERABLEVULNERABLE
3.19.4+SAFEVULNERABLE
3.20.0SAFEVULNERABLE
3.20.1+SAFESAFE

Example Scripts

root@kitploit:~
# Single instance scan
./examples/single_instance.sh https://ghes.company.com

# Batch scan
./examples/batch_scan.sh instances.csv report.html

# CI integration
# See examples/ci_integration.sh

Features

  • Zero external dependencies — Python standard library only
  • Privacy — No data sent to external services
  • Graceful degradation — Falls back to HTTP if paramiko is unavailable
  • Parallel scanning — Batch scans with ThreadPoolExecutor
  • Multiple formats — JSON/CSV/HTML/Console output

License

MIT License

Download Tool