Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2020-28042: JWT signature verification authentication bypass in ServiceStack

Published Nov 1, 2020 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.3Medium · v3.1
EPSS2.3%84th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Servicestack
IdentifiersCVE-2020-28042CWE-347 · Improper Verification of…

CVE-2020-28042 is an authentication bypass vulnerability in ServiceStack affecting versions before 5.9.2. The flaw is caused by improper JWT signature verification, specifically acceptance of tokens with an invalid or effectively null signature unless the application implemented a custom ValidateToken function that enforced a valid minimum signature length. As a result, an attacker can forge arbitrary JWTs and have them accepted as authentic by applications relying on affected ServiceStack JWT authentication. Because JWT claims are commonly used to represent identity, session state, and authorization context, successful exploitation allows an attacker to submit attacker-controlled tokens that the application treats as valid.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows authentication and authorization bypass in applications that rely on affected ServiceStack JWT handling. An attacker can forge JWTs containing arbitrary claims and impersonate users or assign elevated roles or privileges, depending on how the application consumes token claims. This can lead to unauthorized access to protected API endpoints and compromise of session and privilege controls implemented through JWT-based authentication.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, implement strict custom token validation that rejects JWTs with missing, empty, malformed, or undersized signatures and enforces expected signing algorithms and key handling. Reduce reliance on client-supplied JWT claims for authorization decisions where possible, add server-side validation of privilege context, and monitor for anomalous authentication events that may indicate forged token use. These measures are compensating controls and do not replace upgrading to a fixed ServiceStack release.

Remediation

Patch, then assume compromise.

Upgrade ServiceStack to version 5.9.2 or later, which fixes the JWT signature verification flaw. Review all applications using affected ServiceStack JWT authentication to ensure they are running a non-vulnerable version. Where custom token validation logic is used, verify that signature validation is correctly enforced and that malformed, missing, or undersized signatures are rejected. After remediation, re-test JWT authentication flows to confirm that forged or null-signature tokens are no longer accepted.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
ClaimJumperRepository is a Python JWT security testing toolkit (“claimjumper”) rather than a single exploit for one product. It provides: (1) JWT decoding and vulnerability analysis with risk scoring (claimjumper/decoder.py, analyzer.py), (2) token forging (alg=none and HS256 with a provided secret) (forger.py), (3) multi-threaded HMAC secret brute forcing for HS256/384/512 using built-in/common secrets and optional wordlists (cracker.py plus wordlists/jwt_secrets.txt; also references a Wallarm wordlist path), (4) an “advanced_attacks” module that generates multiple CVE/pattern-based attack tokens (notably CVE-2022-39227 algorithm confusion, CVE-2018-0114 key injection, CVE-2022-21449 psychic signature, CVE-2020-28042 null signature bypass, plus kid/jku/x5u/jwks spoofing and timestamp tampering), (5) a fuzzing engine with payload libraries for path traversal, SQLi, NoSQLi, command injection, SSRF, etc. (fuzzer.py), and (6) optional live HTTP replay/testing and a playbook-style scanner using `requests` (http_tester.py) that can inject tokens into requests and look for canary/response changes; it logs to jwt_attack.log. The primary entry point is the Click-based CLI (claimjumper/cli.py) exposing commands like analyze, crack, forge/forge-none, advanced-attacks, fuzz, keygen, and full-audit. A standalone local HTML UI (jwt_analyzer.html) provides basic client-side decoding/forging guidance but does not itself perform signing. Overall purpose: generate and test malicious JWT variants against vulnerable JWT verification implementations and assist in auditing JWT configurations.fevra-dev · Disclosed Jan 16, 2026 · python · html · local (JWT analysis/forgery/cracking) + network (optional live HTTP replay/testing)WeaponizedVenom-JWTThis repository is a Go-based operational exploit tool targeting JWT (JSON Web Token) vulnerabilities, including CVE-2015-9235, CVE-2016-10555, CVE-2018-0114, and CVE-2020-28042. The tool provides both command-line and interactive modes for penetration testers to generate and test JWTs against web applications. It supports multiple attack modes: modifying JWT headers (e.g., setting 'alg' to 'none'), exploiting missing signature validation, switching from RS256 to HS256, JWKS key injection, and brute-forcing JWT secrets using dictionaries or character sets. The tool can generate fuzzing dictionaries and outputs results to files for further testing. The codebase is organized into modules for command handling, JWT manipulation, brute-forcing, and utility functions. No hardcoded network endpoints are present, but several file paths are used for input/output. The exploit is mature and operational, providing practical attack payloads and automation for JWT vulnerability exploitation.z-bool · Disclosed Jan 27, 2025 · go · batch · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ServicestackServicestackapplication
FAQ

Frequently asked questions

Is CVE-2020-28042 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2020-28042 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2020-28042?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2020-28042, the earliest disclosed Jan 27, 2025.
Is there a patch for CVE-2020-28042?
Upgrade ServiceStack to version 5.9.2 or later, which fixes the JWT signature verification flaw. Review all applications using affected ServiceStack JWT authentication to ensure they are running a non-vulnerable version.
What products are affected by CVE-2020-28042?
Servicestack.
How severe is CVE-2020-28042?
CVE-2020-28042 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 2.3% (84th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.