appsec.fyi › JSON Web Tokens (JWT)

JSON Web Tokens (JWT) Resources

Page 3 of 4: resources 101–150 of 200, added Apr 2026 to Jul 2026.

The newest JSON Web Tokens (JWT) resources are on the JSON Web Tokens (JWT) page. For a reading order instead of a date order, see the JSON Web Tokens (JWT) learning path.

Date AddedLinkExcerpt
2026-07-08 2026JWTweak v2.1: A Guided, Offline Toolkit for Modern JWT Attacks intermediateToolkit for offline JWT attack execution, JWTweak v2.1 guides users through identifying and exploiting vulnerabilities. Users paste JWTs to receive decoded and risk-scored tokens, suggested attack vectors, and step-by-step instructions for executing techniques such as algorithm confusion. This Python 3.8+ powered application requires pyjwt and cryptography libraries and operates entirely offline. → infosecwriteups.com
2026-06-12 20263 OAuth TTPs Seen This Month — and How to Detect Them with Entra ID Logs intermediate 10 min read AuthNOAuth attacks targeting Azure environments leverage device code phishing and the legacy Resource Owner Password Credentials (ROPC) flow to bypass multi-factor authentication and gain initial access. Attackers may also abuse specific application-resource combinations, such as the Microsoft Authentication Broker and Intune Enrollment, to register a device and achieve persistence, circumventing conditional access policies. Entra ID sign-in logs can be analyzed using KQL queries to detect these evolving identity-based threats by examining authentication protocols and client application usage. → wiz.io
2026-06-08 2026Detecting CVE-2026-0265 at Scale: PAN-OS CAS Authentication Bypass news 8 min read AuthNCVE-2026-0265 is a pre-authentication JWT signature bypass vulnerability in PAN-OS and Panorama, present when Cloud Authentication Service (CAS) is attached to an authentication profile. Bishop Fox has developed a detection script that, using a single anonymous HTTP request to the GlobalProtect portal's `/global-protect/prelogin.esp` endpoint, can definitively determine if a target is vulnerable by examining CAS attachment and the authoritative PAN-OS version embedded within a JWT. Remediation involves patching to a fixed version or detaching CAS from affected profiles. → bishopfox.com
2026-04-22 2026CVE-2026-32597: PyJWT Information Disclosure Vulnerability news 4 min readCVE-2026-32597 in PyJWT versions prior to 2.12.0 allows attackers to bypass security controls by crafting JWT tokens with unrecognized critical header extensions that the library fails to reject, violating RFC 7515. This input validation error, classified as CWE-345, can lead to authentication and authorization bypasses in applications relying solely on PyJWT for validation. Upgrading PyJWT to version 2.12.0 or later is the recommended mitigation. → sentinelone.com
2026-04-22 2026CVE-2026-22817: JWT Algorithm Confusion in Hono news 1 min readCVE-2026-22817 in the Hono web framework allows an authentication bypass by exploiting JWT algorithm confusion. Attackers can swap asymmetric algorithms for symmetric ones, tricking the server into verifying forged tokens using its own public key as a shared secret. This vulnerability, present in Hono versions prior to 4.11.4, enables identity theft and requires immediate updates and explicit algorithm configuration for mitigation.
2026-04-22 2026Proof of Concept for CVE-2026-29000 (pac4j-jwt) intermediate 1 min readTool for demonstrating CVE-2026-29000, a critical improper authentication vulnerability in pac4j-jwt affecting versions prior to 4.5.9, 5.7.9, and 6.3.3. The proof of concept script automates key discovery, forges an unsigned JWT with `alg: none`, wraps it in a JWE, and exploits the flaw to bypass signature verification, enabling authentication bypass and privilege escalation. Mitigation involves updating pac4j-jwt, enforcing valid signatures, and potentially disabling JWE.
2026-04-22 2026CVE-2026-23993: JWT Authentication Bypass in HarbourJwt via Unknown alg news 4 min readCVE-2026-23993 in HarbourJwt allows an authentication bypass by exploiting permissive signature verification logic that accepts unknown JWT algorithms. When an unrecognized `alg` value is provided in the JWT header, the `GetSignature` method returns an empty string, which then incorrectly matches the empty signature computed during verification. This bypass occurs because the error state from `GetSignature` is not treated as fatal during the verification process, enabling forged tokens with arbitrary payloads to be accepted without a valid signature. → pentesterlab.com
2026-04-22 2026draft-ietf-oauth-rfc8725bis: JSON Web Token Best Current Practices beginner 30 min readReference document detailing JSON Web Token (JWT) Best Current Practices. This specification updates RFC 7519 and replaces RFC 8725, offering actionable guidance on secure JWT implementation and deployment. It covers threats and vulnerabilities like weak signatures, insufficient validation, weak symmetric keys, insecure encryption use, plaintext leakage, substitution attacks, and JWE decompression bomb attacks. The document also outlines best practices, including algorithm verification, appropriate algorithm selection, cryptographic input validation, sufficient key entropy, UTF-8 usage, and validation of issuer, subject, and audience claims.
2026-04-19 2026CVE-2025-45768: PyJWT Information Disclosure Vulnerability news 4 min readCVE-2025-45768 in PyJWT v2.10.1, a popular Python library for JWTs, involves a weak encryption vulnerability due to the library's failure to enforce minimum key length requirements. Applications using this version with weak encryption keys are susceptible to cryptographic attacks, potentially allowing attackers to forge tokens, bypass authentication, and gain unauthorized access. While the supplier disputes this as a library defect, developers are advised to implement application-level validation to ensure keys meet minimum length thresholds (e.g., 256 bits for HMAC, 2048 bits for RSA). → sentinelone.com
2026-04-19 2026How JWT Libraries Block Algorithm Confusion: Code Review Lessons intermediate 11 min readJWT libraries block algorithm confusion attacks by enforcing explicit algorithm selection by developers and validating the header's `alg` parameter against the developer-specified algorithm, effectively preventing attackers from manipulating the signing algorithm. Some libraries simplify security by supporting only a single algorithm, while others employ a defense-in-depth approach by checking header algorithms and then strictly using the developer-provided one. → pentesterlab.com
2026-04-19 2026JSON Web Token Attacks and Vulnerabilities — Acunetix beginner 12 min readJSON Web Token (JWT) attacks arise from improper implementation, particularly concerning signature verification and algorithm handling. Vulnerabilities include failing to verify signatures, allowing the "None" algorithm which bypasses verification entirely, and algorithm confusion where the application mistakenly uses a public key as a shared secret for HMAC signing. These flaws can lead to unauthorized access and privilege escalation by enabling token manipulation and forging. → acunetix.com
2026-04-19 2026Analyzing Broken User Authentication Threats to JWTs — Akamai intermediateAnalyzing Broken User Authentication Threats to JWTs — Akamai → akamai.com
2026-04-17 2026JWT Token Lifecycle: Expiration, Refresh, and Revocation beginner 17 min readManaging JSON Web Token (JWT) lifecycles is crucial for application security, offering strategies for expiration, refresh, and revocation. Short-lived access tokens (15-60 minutes) with long-lived refresh tokens (7-14 days) enhance security, while revocation mechanisms like blocklists and token versioning protect against compromised credentials. Balancing absolute and sliding expiration, along with implementing robust validation and HttpOnly cookie storage, strengthens security and ensures compliance with regulations like NIST, PCI DSS, and GDPR.
2026-04-17 2026CVE-2024-53861: PyJWT Issuer Field Partial Match news 3 min readCVE-2024-53861 in PyJWT allows for partial issuer field matches, potentially enabling unauthorized access. This vulnerability stems from version 2.10.0's modification of issuer claim verification to accept sequence matches instead of exact list matches, where tokens with 'urn:' could be accepted for 'urn:expected'. The issue, with a CVSS score of 2.2, is fixed in version 2.10.1.
2026-04-17 2026Python-JOSE Security Risk: CVE-2024-33663 Explained news 3 min readCVE-2024-33663 affects Python JOSE library versions up to 3.3.0, stemming from an algorithm confusion error when processing OpenSSH ECDSA keys. This vulnerability allows attackers to manipulate input data, potentially leading to cryptographic failures, data integrity compromise, and confidentiality breaches. The fix involves upgrading the library to version 3.3.1 or later, which introduces an `algorithms` parameter to specify allowed decoding algorithms.
2026-04-17 2026JWT Bomb in Python-JOSE CVE-2024-33664 newsJWT Bomb in Python-JOSE CVE-2024-33664
2026-04-17 2026JWT Pentest Book (six2dez) beginnerJWT Pentest Book (six2dez)
2026-04-17 2026JWT Pentest Checklist (Cyber Frogy) beginnerChecklist detailing 27 common JSON Web Token (JWT) vulnerabilities. It offers penetration testers, developers, and security teams a structured approach to identify flaws, including testing steps, expected outcomes, and security recommendations for secure JWT implementations.
2026-04-17 2026JWT Pentest Checklist v1.0 (Chintan Gurjar) beginnerJWT Pentest Checklist v1.0 (Chintan Gurjar)
2026-04-17 2026HackerOne #1210502: Jitsi Authentication Bypass (JWT) intermediateJitsi Meet authentication bypass in versions prior to 2.0.5963 allowed adversaries to forge valid JWTs by exploiting the use of symmetric algorithms with public keys. By setting the JWT header's `alg` field to a symmetric algorithm like `HS256` and using the configured public key as the secret, attackers could bypass authentication, enabling them to start new conferences or join protected rooms on affected instances. → hackerone.com
2026-04-17 2026HackerOne #2472798: Newspack Extended Access JWT bypass intermediate 2 min readNewspack Extended Access plugin vulnerability allows for arbitrary account registration and authentication bypass by omitting JWT signing validation on its registration and login endpoint. Attackers can create accounts with user-supplied details or hijack existing accounts by crafting unsigned JWTs with a target email, leading to unauthorized access and potential injection of untrusted data. → hackerone.com
2026-04-17 2026JSON Web Token Vulnerabilities (0xn3va cheat sheet) beginnerJSON Web Token Vulnerabilities (0xn3va cheat sheet) → 0xn3va.gitbook.io
2026-04-17 2026JWT Forgery via unvalidated jku parameter (Invicti) intermediateJWT forgery via unvalidated `jku` parameter allows attackers to create valid JSON Web Tokens with arbitrary payloads, potentially leading to privilege escalation, user impersonation, or unintended application states. This vulnerability can also be exploited to trigger blind SSRF attacks. Remediation involves implementing a whitelist of allowed URLs for JWK files specified in the `jku` header, validating the full URL and path, and disabling HTTP redirection during token retrieval. → invicti.com
2026-04-17 2026jwt-hack: JSON Web Token Hack Toolkit (GitHub) intermediate 3 min readLibrary for testing, analyzing, and attacking JSON Web Tokens. It supports decoding regular and DEFLATE-compressed JWTs, encoding JWE tokens, verifying signatures with secrets or keys, and performing dictionary and brute-force attacks. The library can also scan for common vulnerabilities like the 'none' algorithm, weak secrets, algorithm confusion, and JKU/X5U header attacks. It offers a REST API for automation and can function as an MCP server for AI model integration.
2026-04-17 2026Insecure JSON Web Tokens (The Hacker Recipes) beginner 4 min readInsecure JSON Web Tokens (JWTs) present opportunities for attackers to bypass authentication, impersonate users, or steal secrets by exploiting implementation flaws. Attackers can target JWTs by identifying them in authorization headers and then exploiting vulnerabilities such as the "None" algorithm, re-using public keys for symmetric signing (RS256 to HS256), or leveraging KID header path traversal to inject malicious content as signing keys. Tools like the `jwt` Python library and `jwt_tool.py` can aid in detecting and exploiting these weaknesses.
2026-04-17 2026Hacking JSON Web Tokens - Vickie Li beginner 8 min readExploiting JSON Web Tokens involves manipulating their structure and validation. Attackers can bypass access controls by altering the `alg` header to "none" or by tricking applications into using an RSA public key for HMAC verification. Further vulnerabilities arise from unverified signatures, weak secret keys susceptible to brute-forcing, and leaked keys. Key ID (`kid`) manipulation, through directory traversal or SQL injection, allows attackers to substitute legitimate verification keys with arbitrary files or data. The `jku` header parameter can also be abused if not properly restricted, enabling attackers to point to their own key sets for token verification.
2026-04-17 2026Known Exploits and Attacks (jwt_tool Wiki) intermediate 4 min readLibrary of known JWT exploits and attacks, including CVE-2015-9235 (alg:none), CVE-2016-5431 (Key Confusion), CVE-2018-0114 (Key Injection), and CVE-2020-28042 (Null Signature). This resource also details JWKS Spoofing, "kid" Injection, cross-service relay attacks, weak secret cracking, and key injection via inline public keys. Each attack type is explained with examples and mitigation strategies for JWT configurations.
2026-04-17 2026JWT Security Best Practices for 2025 (JWT.app) beginner 5 min readJWT security best practices for 2025 focus on cryptographically strong secret management, optimal token expiration strategies, comprehensive token validation, secure token storage, algorithm security, robust token refresh mechanisms, and protection against common attacks like algorithm confusion. Implementing these practices, along with diligent monitoring and auditing, is crucial for building secure authentication systems.
2026-04-17 2026JWT Security Best Practices (Phase Two) beginner 9 min readJWT Security Best Practices (Phase Two) provides a comprehensive guide to securely implementing JSON Web Tokens (JWTs) across application stacks, focusing on signed JWTs. It details crucial considerations for token generation, storage, transmission, and validation, emphasizing the exclusion of sensitive information from payloads, the use of TLS for secure transmission, and the avoidance of JWTs in URL parameters. The guide also covers signature algorithm selection (recommending ECC for new implementations), best practices for configuring essential claims like `iss`, `aud`, `exp`, and `jti`, and strategies for token revocation through short lifetimes and refresh token patterns.
2026-04-17 2026JWT Security Guide: Best Practices & Implementation (Gupta Deepak) beginner 5 min readJSON Web Tokens (JWTs) offer a secure, self-contained method for transmitting authentication and authorization data in modern web applications. Understanding JWT fundamentals, including header, payload, and signature components, is crucial for mitigating common vulnerabilities like signature verification flaws, algorithm confusion, client-side storage risks, and the revocation challenge. Essential security practices include using HTTPS, secure HttpOnly cookie storage, robust token lifecycle management, and payload security, alongside advanced measures like fingerprinting and audience validation.
2026-04-17 2026JWT authentication bypass via kid header path traversal (siunam) intermediate 2 min readJWT authentication bypass via `kid` header path traversal allows attackers to forge JWTs by manipulating the `kid` parameter. This technique, demonstrated in a Portswigger Labs challenge, exploits how the server fetches keys from the filesystem to verify signatures. By pointing the `kid` parameter to a predictable file like `/dev/null` and signing the token with a null byte, an attacker can bypass authentication and gain elevated privileges.
2026-04-17 2026JWT authentication bypass via algorithm confusion (siunam) intermediate 3 min readJWT authentication bypass via algorithm confusion allows for unauthorized access by manipulating the `alg` parameter in JWT headers. By obtaining the server's public RSA key, attackers can convert it to PEM format and then use it as a symmetric secret key to sign a modified JWT. Changing the `alg` to HS256 and the `sub` claim to "administrator" enables access to privileged areas, as demonstrated in a Portswigger Labs challenge.
2026-04-17 2026ctf-jwt-token: Vulnerability in early JWT node.js library (GitHub) intermediate 2 min readLibrary demonstrating a vulnerability in an early JWT node.js library. The example showcases how an attacker can modify a JWT token, exploiting the "none" algorithm support in older `jsonwebtoken` versions (like v0.4.0) to elevate their privileges from a common user to an admin, thereby accessing restricted content. The resource includes the source code, Docker image, and a Python script for performing the attack.
2026-04-17 2026JWT Authentication Bypass Using alg:none - CTF Writeup intermediate 2 min readJWT authentication bypass using `alg:none` where an attacker crafts a token with a "none" algorithm and a modified payload to impersonate an administrator, gaining access to privileged endpoints and sensitive information. This technique bypasses signature verification on vulnerable servers, allowing for privilege escalation.
2026-04-17 2026JWT Algorithm Confusion Attack: Two Active CVEs in 2026 news 6 min readReference detailing CVE-2026-22817 affecting Hono and CVE-2026-23993 impacting HarbourJwt, both stemming from JWT libraries that trust the token's `alg` header for signature verification. The article explains how attackers can exploit this, including an RS256-to-HS256 swap in Hono and an unknown algorithm bypass in HarbourJwt, and provides methods for detection and prevention such as algorithm pinning and validating `iss`/`aud` claims.
2026-04-17 2026JWT Algorithm Confusion: Turning RS256 Tokens into HS256 Disasters intermediateJWT Algorithm Confusion: Turning RS256 Tokens into HS256 Disasters
2026-04-17 2026Understanding JWT Security and Common Vulnerabilities (secops) beginner 8 min readJWT security vulnerabilities can arise from improper implementation, allowing attackers to forge identities and escalate privileges. Common attacks include "none" algorithm bypass, key injection via the `kid` parameter, and algorithm confusion, all of which exploit weak signature validation or exposed signing keys. This analysis details these threats and demonstrates real-world exploitation techniques through a walkthrough of the Certified API Pentester Mock Exam, emphasizing the critical need for robust signature, algorithm, and claim validation.
2026-04-17 2026JWT Vulnerabilities List: 2026 Security Risks & Mitigation Guide (Red Sentry) beginner 3 min readGuide on 2026 JWT vulnerabilities, detailing risks like failing signature verification, none algorithm exploitation, and algorithm confusion. It addresses specific CVEs from 2025, including CVE-2025-4692 and CVE-2025-30144, and their impact on sectors like B2B SaaS, healthcare, and FinTech. Mitigation strategies focus on key management, validation of claims (iss, aud, exp), and incorporating OWASP testing into pentests, referencing work by Vaadata, Invicti, and PortSwigger.
2026-04-16 2026JWT Header Parameter Injections intermediate 4 min readJWT header parameter injections allow attackers to forge tokens by manipulating the `kid` parameter. This vulnerability arises when the `kid` parameter is susceptible to directory traversal or SQL injection, enabling an attacker to force the server to use an arbitrary file or database entry as the verification key. When combined with symmetric signing algorithms like HS256, an attacker can sign a JWT using a predictable or null secret (e.g., from `/dev/null`) and inject a corresponding `kid` path, bypassing signature verification and gaining unauthorized access.
2026-04-16 2026CVE-2026-29000: Authentication Bypass in pac4j-jwt newsCVE-2026-29000 in pac4j-jwt allows an unauthenticated remote attacker to bypass authentication and impersonate users by crafting a JWE with an unsigned PlainJWT. This vulnerability stems from an improper verification of cryptographic signatures in the JwtAuthenticator component, specifically when handling encrypted JWTs (JWEs). Impacted deployments use RSA-based JWEs with JwtAuthenticator configured for both encryption and signature verification. → arcticwolf.com
2026-04-16 2026JWT Algorithm Confusion Attacks: CVE-2026-22817 Fix Guide intermediate 6 min readGuide addressing JWT algorithm confusion attacks, detailing how vulnerable libraries trust attacker-controlled `alg` fields in JWT headers. It explains the exploitation of CVE-2026-22817, CVE-2026-27804, and CVE-2026-23552, impacting frameworks like Hono, Parse Server, HarbourJwt, and Apache Camel. The guide provides specific fixes, including upgrading to patched versions and explicitly pinning allowed algorithms like RS256, rather than inferring them from the token, to prevent token forgery and bypasses.
2026-04-11 2026CVE-2024-33663: Python-jose Algorithm Confusion news 4 min readCVE-2024-33663 is an algorithm confusion vulnerability in `python-jose` versions up to 3.3.0, allowing attackers to forge signatures or bypass authentication by exploiting key format confusion with OpenSSH ECDSA keys. Applications using `python-jose` for JWT validation are vulnerable if they process tokens where an attacker can influence the key material, potentially submitting a token signed with a symmetric algorithm using the public key as the secret. Mitigation involves explicit algorithm allowlisting during JWT decoding. → sentinelone.com
2026-04-11 2026Severe Security Flaw Found in jsonwebtoken Library news 2 min readCVE-2022-23529, a remote code execution vulnerability in the popular jsonwebtoken JavaScript library, has been retracted after review. While initially reported as a critical flaw impacting versions below 8.5.1, the issue is now considered addressable by secure coding practices in calling code, specifically regarding secret management. Version 9.0.0 of the library has been released to mitigate potential risks when used insecurely. → thehackernews.com
2026-04-11 2026The Ultimate Guide to JWT Vulnerabilities and Attacks beginner 10 min readJWT vulnerabilities, including signature bypass, the "none" algorithm flaw, weak secret keys, and algorithm confusion attacks (like RS256 to HS256 swaps), compromise the integrity of JSON Web Tokens. These flaws allow attackers to forge claims, impersonate users, and gain elevated privileges by exploiting insecure implementations where signature verification is skipped or the signing algorithm is manipulated. → pentesterlab.com
2026-04-11 2026HackerOne: Trint insecure client-side JWT generation news 2 min readClient-side JWT generation for Trint's Zendesk SSO implementation, identified with a hardcoded secret in the JavaScript source maps, allows for arbitrary token creation and impersonation of any customer. This vulnerability, discovered on app.trint.com, grants attackers access to user support tickets by manipulating JWTs with the exposed Zendesk secret. → hackerone.com
2026-04-11 2026HackerOne: Linktree account takeover via improper JWT validation newsHackerOne: Linktree account takeover via improper JWT validation → hackerone.com
2026-04-11 2026HackerOne: Critical vulnerability in JWE Specification newsCritical vulnerability in JWE Specification (RFC 7516) allows for Invalid Curve attacks, affecting libraries like node-jose, jose2go, Nimbus JOSE+JWT, and jose4j. This cryptographic weakness was reported to maintainers and led to prompt fixes, with further details available in related security blog posts. → hackerone.com
2026-04-11 2026HackerOne: Argo CD JWT audience claim not verified news 2 min readArgo CD versions v1.8.2 and later are vulnerable to an improper authorization bug where the API accepts invalid JWT tokens due to a failure to verify the audience claim. This allows tokens intended for other services to be accepted, granting unintended privileges and increasing the impact of stolen credentials. → hackerone.com
2026-04-11 2026JWT Signature Bypass via unvalidated jku parameter intermediate 1 min readTechnique for bypassing JWT signature verification using an unvalidated 'jku' parameter. This vulnerability allows attackers to control the JWK Set URL, enabling them to sign forged tokens with their own keys. Remediation involves strictly validating the 'jku' parameter against an allowlist of trusted URLs or disabling the parameter support entirely, and disabling HTTP redirects when fetching JWKS. → invicti.com
2026-04-11 2026JWT Signature Bypass via kid Path Traversal intermediate 1 min readTechnique for JWT signature bypass via 'kid' path traversal, where manipulating the Key ID header parameter with directory traversal sequences allows attackers to force the application to use an attacker-controlled file as the signing key. This bypasses authentication by enabling the creation of validly-signed JWT tokens with arbitrary payloads. Remediation involves validating and sanitizing the 'kid' parameter using allowlisting or mapping tables, storing keys securely, and utilizing robust JWT libraries. → invicti.com