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-4282-Scanner — Non-intrusive version-based vulnerability scanner for CVE-2026-4282 (Keycloak SingleUseObjectProvider isolation flaw enabling authorization code forgery & privilege escalation) | Kitploit
Tools/GitHubGitHub/hex0user/cve-2026-4282-scanner
Defensive ToolsVulnerability ScannersVulnerability AnalysisInformation GatheringWeb SecurityPenetration TestingAuthentication
GitHub
Share
hex0user/cve-2026-4282-scanner

CVE-2026-4282-Scanner

Non-intrusive version-based vulnerability scanner for CVE-2026-4282 (Keycloak SingleUseObjectProvider isolation flaw enabling authorization code forgery & privilege escalation)

View Repository
3593 months agoNot yet reviewed

CVE-2026-4282-Scanner

A non-intrusive, version-based vulnerability scanner for CVE-2026-4282, affecting Keycloak and Red Hat Build of Keycloak (RHBK).

⚠️ Disclaimer: This tool is intended strictly for authorized security research, penetration testing, and defensive vulnerability management. Only run it against systems you own or have explicit written permission to test. This scanner performs no exploitation — it only inspects publicly served, unauthenticated information to fingerprint the running version.


About the Vulnerability

CVE-2026-4282 — Improper Isolation or Compartmentalization (CWE-653)

Keycloak's SingleUseObjectProvider, a global key-value store used internally by the authentication server, lacks proper type and namespace isolation between stored objects. Because entries from different internal subsystems are not adequately segregated, an unauthenticated attacker can manipulate this shared store to forge OAuth2/OpenID Connect authorization codes.

Since authorization codes are exchanged for access tokens, a forged code can be used to mint admin-capable access tokens, resulting in full privilege escalation within the Keycloak instance — without the attacker ever needing valid credentials.

  • CVSS 3.1 Base Score: 7.4 (High) — Network attack vector, no privileges required, no user interaction, high attack complexity
  • CWE: CWE-653 — Improper Isolation or Compartmentalization
  • Affected component: SingleUseObjectProvider (global KV store)
  • Fixed in: Keycloak / RHBK 26.5.7 and later

Official Sources

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-4282
  • Red Hat advisory: https://access.redhat.com/security/cve/CVE-2026-4282
  • Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2448061
  • Keycloak 26.5.7 release notes: https://www.keycloak.org/2026/04/keycloak-2657-released

What This Scanner Does

  1. Sends a standard, unauthenticated GET request to well-known Keycloak endpoints (the same traffic a browser generates when loading the login page).
  2. Confirms the target is actually running Keycloak.
  3. Attempts to fingerprint the deployed version from public response data (asset paths, headers).
  4. Compares the detected version against the known fixed version (26.5.7) and reports whether the target is likely vulnerable, likely patched, or undetermined.

What it does NOT do:

  • It does not forge authorization codes.
  • It does not attempt authentication bypass.
  • It does not send any malicious or malformed payloads.

Installation (Linux)

sudo apt update
sudo apt install -y git python3 python3-pip
git clone https://github.com/hexissam/CVE-2026-4282-Scanner.git
cd CVE-2026-4282-Scanner
pip3 install -r requirements.txt

Usage

python3 scanner.py -u https://sso.example.com

Options

FlagDescription
-u, --urlBase URL of the target Keycloak server (required)
-t, --timeoutRequest timeout in seconds (default: 8)
--no-verify-sslDisable SSL certificate verification (self-signed certs)

Example Output

[*] Target: https://sso.example.com
[*] Timestamp: 2026-08-09T12:00:00
[+] Confirmed the target is running Keycloak.
[*] Detected version: 26.5.4 (source: /admin/master/console/)

[-] Version 26.5.4 may be VULNERABLE to CVE-2026-4282 (older than 26.5.7).
[!] It is recommended to upgrade immediately to Keycloak 26.5.7 or later,
    or review the official Red Hat advisory referenced in README.md.

[*] This scan relies solely on public, non-interactive data.
    No exploit payload or authentication bypass attempt was sent.

Remediation

  • Upgrade Keycloak / RHBK to version 26.5.7 or later.
  • If immediate upgrade is not possible, monitor authentication logs for anomalous authorization-code redemption patterns and restrict network exposure of the Keycloak admin console.
  • Review the official Red Hat advisory for any additional mitigation guidance.

Legal Notice

This project is provided for educational and authorized security research purposes only. The author is not responsible for any misuse or damage caused by this tool. Unauthorized scanning or testing of systems you do not own or have explicit permission to assess is illegal in most jurisdictions.


Credits

Developed by: issam junior (@hexissam) Vulnerability discovered/disclosed by: Red Hat, Inc.

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.

    717
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    402
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    259

Explore all tools

Browse our collection of tools

View all tools →