Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIntercept JWE on token path
-
ExploitFlip bytes in wrapped CEK
-
ExecutionUnauthenticated ChaCha20 decrypt skips Poly1305 tag
-
ImpactTampered content encryption key accepted undetected
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Integrity check implementation
|
| Exploitation Conditions | The application must register the experimental Jose\Experimental\KeyEncryption\Chacha20Poly1305 algorithm (package web-token/jwt-experimental) as a JWE 'alg', and the attacker must occupy the token path to intercept and modify the JWE in transit (consistent with AT:P). Limiting factors: this is an experimental, opt-in algorithm not enabled by default; impact is integrity-only (tampering with the wrapped CEK) with no confidentiality or availability loss; and no authentication is required (PR:N), but the on-path requirement and non-default configuration substantially constrain realistic exploitation. |
| Impact | Signals point to a moderate, conditional risk rather than an urgent one. The source CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N) scores 6.3 and is integrity-only (VC:N/VI:L/VA:N), consistent with CWE-353/CWE-347: the attacker can tamper with the wrapped content encryption key but gains no direct confidentiality or availability impact. The vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing, no EPSS score was provided, and no public exploit was identified - only vendor/VulnCheck advisories. The AT:P (attack requirement) and the 'attackers on the token path' wording mean exploitation presupposes an on-path/man-in-the-middle position plus a target application that has registered the experimental Chacha20Poly1305 algorithm, which materially lowers real-world likelihood. Net: a legitimate cryptographic defect worth patching on a normal cycle, not a high-CVSS-but-hollow issue, but also not a widespread emergency. Note a data gap: EPSS and any active-exploitation telemetry are absent, so likelihood is inferred from the vector and advisory text, not measured. |
| Exploit ScenarioDerived | An attacker positioned on the token path (e.g., an intercepting proxy or MitM) captures a JWE whose CEK is wrapped using the experimental Chacha20Poly1305 key-encryption algorithm and flips bytes in the wrapped key; because decryptKey() calls openssl_decrypt() without the Poly1305 tag, OpenSSL skips authentication and the tampered CEK is silently accepted. As a stream cipher, a single-byte change in the ciphertext yields a controlled single-byte change in the recovered CEK with no integrity failure. No public exploit code was identified; the attack also requires the application to have explicitly registered this experimental algorithm as a JWE alg. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Undetected tampering of JWE tokens is possible in web-token/jwt-framework 1.2.0 before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 when the experimental Chacha20Poly1305 key-encryption algorithm is registered, because the Poly1305 tag is discarded during encryption and not verified during decryption. An attacker on the token path can modify the wrapped content encryption key without the tampering being detected, but the algorithm is opt-in and not enabled by default, so the risk is moderate and conditional and impact is integrity-only. No public exploit was identified at time of analysis, and the vendor advisory lists fixes in 3.4.10, 4.0.7, and 4.1.7 for the jwt-library branches.
RemediationAI
Vendor-released patch: upgrade to web-token/jwt-framework/jwt-library 3.4.10, 4.0.7, or 4.1.7 depending on the affected branch, as listed in GHSA-6vvh-pxr4-25r7 and the VulnCheck advisory. For composer/web-token/jwt-experimental, the supplied package entry lists <=4.1.6 as not yet patched, so confirm a fixed release before relying on an upgrade; until then, the advisory's workaround is not to use the experimental Chacha20Poly1305 key-encryption algorithm for untrusted input. The fix changes the wire format for this algorithm: a base64url tag header is now emitted and required, so tokens produced before the fix will not decrypt after upgrade and vice versa. Disabling the algorithm removes exposure but breaks any JWE that depends on it.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in composer, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is in an experimental JWE key-encryption algorithm implementing ChaCha20-Poly1305 (RFC 7539/RFC 8439). In encryptKey(), the 16-byte Poly1305 tag is generated but never written to the JOSE header, so it never reaches the wire; decryptKey() calls openssl_decrypt('chacha20-poly1305', ...) without the tag argument, causing OpenSSL to skip authentication. This silently degrades AEAD to unauthenticated ChaCha20 stream encryption, so an on-path attacker can alter the encrypted content encryption key and have the modified key accepted. CWE-353 (missing integrity check) and CWE-347 (improper verification of cryptographic signature) describe the root cause. CPE data identifies web-token jwt-framework and jwt-experimental. Exploitation requires the application to register Jose\Experimental\KeyEncryption\Chacha20Poly1305 as a JWE alg and the attacker to occupy the token path; this is not a default configuration.
Know when Jwt Framework gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable but requires an on-path position and a non-default experimental algorithm (AC:H), no auth (PR:N), and impact is limited to undetected CEK tampering (I:L; C:N/A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
web-token jwt-framework 1.2.0 before 3.4.10, jwt-experimental before 3.4.10, 4.0.x before 4.0.7, and 4.1.x before 4.1.7 contain a missing integrity check in the experimental Chacha20Poly1305 key-encryption algorithm, which discards the Poly1305 tag in encryptKey() and calls openssl_decrypt() without it in decryptKey(). Attackers on the token path can modify the encrypted content encryption key undetected.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Jwt Framework
View allUnauthenticated remote attackers can exhaust server CPU in PHP applications using the web-token/jwt-framework or jwt-lib
PHP applications using web-token/jwt-framework or its jwt-library component that register the RSA1_5 key-encryption algo
JWE tokens produced with ECDH-ES (or the non-registered ECDH-SS) direct key agreement and A256CBC-HS512 in web-token/jwt
EUVD-2026-132468
GHSA-jx3v-ph8p-hg73
NVD
CVE.org
EPSS
Exploit-DB