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-5430-WSO2 — Detection PoC for CVE-2026-5430 — unauthenticated JWT algorithm bypass (CVSS 10.0) affecting WSO2 API Manager 4.1.0–4.6.0. Read-only assessment tool with patch confirmation and WAF detection. Authorized use only. | Kitploit
Tools/GitHubGitHub/davidvrns/cve-2026-5430-wso2
Vulnerability ScannersWeb Vulnerability ScannersVulnerability AnalysisWeb Application ExploitationAPI Security TestingPenetration TestingAuthentication
GitHub
davidvrns/cve-2026-5430-wso2

CVE-2026-5430-WSO2

Detection PoC for CVE-2026-5430 — unauthenticated JWT algorithm bypass (CVSS 10.0) affecting WSO2 API Manager 4.1.0–4.6.0. Read-only assessment tool with patch confirmation and WAF detection. Authorized use only.

View Repository
11 month agoNot yet reviewed
Share

CVE-2026-5430 — WSO2 API Manager JWT Algorithm Bypass

Detection PoC — Authorized Security Assessment Use Only

CVE CVSS Advisory KEV Python


Overview

CVE-2026-5430 is a critical unauthenticated account takeover vulnerability in WSO2 API Manager and related products. A forged JWT bearing an unsupported signing algorithm (e.g. HS256) causes OAuthAuthenticationInterceptor to throw an APIManagementException during signature verification. In unpatched versions this exception is silently swallowed — the request proceeds with full admin privileges, bypassing authentication entirely.

No valid credentials or cryptographic keys are required to exploit this vulnerability.

  • CWE-347 — Improper Verification of Cryptographic Signature
  • CWE-703 — Improper Check or Handling of Exceptional Conditions
  • CVSS 3.1 — AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • CISA KEV — Added September 24, 2026

Affected Products

ProductAffected VersionsFixed Update Level
WSO2 API Manager4.1.0 – 4.6.04.6.0 u21 / 4.5.0 u57 / 4.4.0 u72 / 4.3.0 u108 / 4.2.0 u197 / 4.1.0 u257
WSO2 API Control Plane4.5.0, 4.6.04.6.0 u22 / 4.5.0 u58
WSO2 Traffic Manager4.5.0, 4.6.04.6.0 u21 / 4.5.0 u56
WSO2 Universal Gateway4.5.0, 4.6.04.6.0 u21 / 4.5.0 u57

Vulnerable Call Chain

Request → OAuthAuthenticationInterceptor
    └─ token contains '.' → JWT path
         └─ OAuthJwtAuthenticatorImpl.validateJWTToken()
              └─ JWTValidatorImpl.validateSignature()
                   └─ JWTUtil.verifyTokenSignature(jwt, alias)
                        └─ algorithm not RSA → throws APIManagementException
                             └─ PRE-PATCH : catch → return   ← FAIL OPEN (root cause)
                             └─ POST-PATCH: catch → throw    ← FAIL CLOSED (fixed)

Patch: carbon-apimgt PR #13752 — merged 2026-04-12


Detection Vectors

This script tests three vectors, all within the CVE-2026-5430 scope:

VectorAlgorithmkidTarget Code Path
V1HS256NoneverifyTokenSignature(jwt, alias) — original CVE vector
V2RS256NoneSame alias overload — tests patch boundary (RSA claim, invalid sig)
V3HS256wso2apimverifyTokenSignature(jwt, keyID) — kid routing branch

Requirements

  • Python 3.10+
  • rich
pip install rich

Usage

# Standard detection
python3 cve_2026_5430_poc.py https://<target>:9443

# With raw response output for WAF/proxy diagnosis
python3 cve_2026_5430_poc.py https://<target>:9443 --debug

Exit codes

CodeMeaning
0Not vulnerable / patched
1CVE-2026-5430 confirmed
2Target unreachable

Output Phases

PhaseDescription
Phase 0 — DiagnosticConfirms WSO2 is reachable, fingerprints WAF/proxy presence, checks port connectivity
Phase 1 — Control SweepProbes all 16 REST paths without a token to identify auth-gated endpoints
Phase 2 — Attack VectorsTests V1–V3 against each auth-gated path with a progress display and token manifest
Phase 3 — ResultsPer-path results table, finding panels with full decoded JWT breakdown

Token Manifest

Before testing begins, the script displays every token that will be sent to the target — including the decoded header, payload claims, signature, and truncated token string — so the assessment is fully transparent and reproducible.

Patch Confirmation

The script distinguishes three outcomes per check:

ResultMeaning
VULNERABLEHTTP 200 with authenticated API data — bypass confirmed
PATCHEDHTTP 401 with WSO2 ErrorDTO body (error code 900901) — PR #13752 active
INCONCLUSIVEHTTP 401 with no ErrorDTO — likely WAF/proxy, not the code patch

INCONCLUSIVE ≠ safe. A WAF blocking the forged JWT is a compensating control, not a fix. Verify the update level directly on the host:

cat <WSO2_HOME>/updates/config.json | grep update-level

Remediation

Apply the relevant WSO2 update level per the official advisory: https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5328/


Scope & Limitations

This script:

  • Performs read-only GET requests only — no data is created, modified, or deleted
  • Uses invalid/garbage signatures — no real key material is derived or used
  • Sets User-Agent: CVE-2026-5430-Detection/1.0 (authorized assessment) on all requests
  • Uses azp: cve-2026-5430-detection in token claims so forged tokens are identifiable in WSO2 access logs

The following are explicitly out of scope and not tested by this script:

  • alg:none bypass (separate algorithm confusion class)
  • Unauthenticated access without any token (CWE-306)
  • Path/header manipulation to bypass the interceptor registration
  • Token delivery via query parameter

References

ResourceLink
WSO2 Security Advisoryhttps://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2026-5328/
Patch (carbon-apimgt PR #13752)https://github.com/wso2/carbon-apimgt/pull/13752
Test improvement (product-apim PR #14167)https://github.com/wso2/product-apim/pull/14167
CISA KEV Entryhttps://www.cisa.gov/known-exploited-vulnerabilities-catalog
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-5430

Legal

This tool is provided for authorized security assessments only. Do not run against any system without explicit written authorization from the system owner. Unauthorized use may violate the Computer Fraud and Abuse Act (CFAA), the Philippines Cybercrime Prevention Act of 2012 (RA 10175), and equivalent laws in your jurisdiction. The authors accept no liability for misuse.

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.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    439
  • 4

    redforge

    cybersecurity91/redforge

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

    346
  • 5

    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.

    267
  • 6

    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.

    264

Explore all tools

Browse our collection of tools

View all tools →