CVE-2026-34240: CWE-347: Improper Verification of Cryptographic Signature in appsup-dart jose
JOSE is a Javascript Object Signing and Encryption (JOSE) library. Prior to version 0.3.5+1, a vulnerability in jose could allow an unauthenticated, remote attacker to forge valid JWS/JWT tokens by using a key embedded in the JOSE header (jwk). The vulnerability exists because key selection could treat header-provided jwk as a verification candidate even when that key was not present in the trusted key store. Since JOSE headers are untrusted input, an attacker could exploit this by creating a token payload, embedding an attacker-controlled public key in the header, and signing with the matching private key. Applications using affected versions for token verification are impacted. This issue has been patched in version 0.3.5+1. A workaround for this issue involves rejecting tokens where header jwk is present unless that jwk matches a key already present in the application's trusted key store.
AI Analysis
Technical Summary
The appsup-dart jose library versions before 0.3.5+1 suffer from improper verification of cryptographic signatures (CWE-347). Specifically, the library treats a JSON Web Key (jwk) embedded in the JOSE header as a valid verification key without ensuring it is present in the trusted key store. Since JOSE headers are untrusted input, an attacker can craft a token with a malicious jwk in the header and sign it with the corresponding private key, resulting in forged valid tokens. This vulnerability affects applications using the affected versions for token verification. The issue is resolved in version 0.3.5+1. The vulnerability has a CVSS 3.1 score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact.
Potential Impact
An attacker can forge valid JWS/JWT tokens without authentication by exploiting the improper verification of cryptographic signatures. This can lead to unauthorized actions or access in applications relying on the vulnerable jose library for token verification. There is no reported exploitation in the wild as of the published date.
Mitigation Recommendations
A fix is available in appsup-dart jose version 0.3.5+1. Users should upgrade to this version or later to remediate the vulnerability. As a workaround, applications should reject tokens containing a jwk header unless the key matches one already present in the application's trusted key store. No other mitigation steps are specifically recommended by the vendor advisory.
CVE-2026-34240: CWE-347: Improper Verification of Cryptographic Signature in appsup-dart jose
Description
JOSE is a Javascript Object Signing and Encryption (JOSE) library. Prior to version 0.3.5+1, a vulnerability in jose could allow an unauthenticated, remote attacker to forge valid JWS/JWT tokens by using a key embedded in the JOSE header (jwk). The vulnerability exists because key selection could treat header-provided jwk as a verification candidate even when that key was not present in the trusted key store. Since JOSE headers are untrusted input, an attacker could exploit this by creating a token payload, embedding an attacker-controlled public key in the header, and signing with the matching private key. Applications using affected versions for token verification are impacted. This issue has been patched in version 0.3.5+1. A workaround for this issue involves rejecting tokens where header jwk is present unless that jwk matches a key already present in the application's trusted key store.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The appsup-dart jose library versions before 0.3.5+1 suffer from improper verification of cryptographic signatures (CWE-347). Specifically, the library treats a JSON Web Key (jwk) embedded in the JOSE header as a valid verification key without ensuring it is present in the trusted key store. Since JOSE headers are untrusted input, an attacker can craft a token with a malicious jwk in the header and sign it with the corresponding private key, resulting in forged valid tokens. This vulnerability affects applications using the affected versions for token verification. The issue is resolved in version 0.3.5+1. The vulnerability has a CVSS 3.1 score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality impact, high integrity impact, and no availability impact.
Potential Impact
An attacker can forge valid JWS/JWT tokens without authentication by exploiting the improper verification of cryptographic signatures. This can lead to unauthorized actions or access in applications relying on the vulnerable jose library for token verification. There is no reported exploitation in the wild as of the published date.
Mitigation Recommendations
A fix is available in appsup-dart jose version 0.3.5+1. Users should upgrade to this version or later to remediate the vulnerability. As a workaround, applications should reject tokens containing a jwk header unless the key matches one already present in the application's trusted key store. No other mitigation steps are specifically recommended by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-26T16:22:29.034Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69cbedf2e6bfc5ba1d248106
Added to database: 3/31/2026, 3:53:22 PM
Last enriched: 4/8/2026, 4:13:24 AM
Last updated: 5/15/2026, 8:07:25 AM
Views: 137
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.