Skip to main content

web-token jwt-framework EUVDEUVD-2026-136753

| CVE-2026-137561 LOW
Insufficient Verification of Data Authenticity (CWE-345)
2026-11-26 VulnCheck
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain one valid direct-mode JWE token
  2. Exploit
    Overwrite empty Encrypted Key with arbitrary bytes
  3. Execution
    Derive many variant strings that still decrypt
  4. Impact
    Bypass replay cache, single-use registry or revocation deny-list

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Data authenticity verification
Exploitation Conditions

Exploitation requires ALL of the following, per the advisory: (1) the application decrypts JWEs whose key-management alg is dir, ECDH-ES or ECDH-SS (dir and ECDH-ES are reachable via JWELoader, NestedTokenLoader and the bundle decrypter services; non-registered ECDH-SS only via JWEDecrypter called with a sender key); and (2) the application identifies accepted tokens by their serialized string or a hash of it - in a replay cache, single-use registry or revocation deny-list - rather than by a claim such as jti; and (3) the attacker already possesses one valid token (PR:L). LIMITING factors: key-encryption and key-wrapping algorithms (RSA-OAEP, RSA1_5, A128KW-A256KW, A*GCMKW, PBES2-*, ECDH-ES+A*KW, ECDH-SS+A*KW) are NOT affected because a different encrypted key yields a different content encryption key and the token is rejected; tokens produced by the library itself (which leave the encrypted key empty) are unaffected; and deployments that key their anti-replay/revocation logic on jti rather than the token string are not exploitable even when using direct modes.

Impact

This is a low-severity, low-real-risk issue despite the authentication-bypass framing. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:L/UI:N) scores only 2.3, and the impact is narrow: VC:N and VA:N mean nothing is disclosed and nothing is taken down; only VI:L (minor integrity) applies, reflecting that the plaintext and protected header cannot be altered - the advisory explicitly states confidentiality and integrity of the content are not at stake. PR:L is honest: an attacker must already hold one legitimately issued direct-mode JWE token before deriving variants. The vuln.today Decision label is 'monitor', consistent with a non-urgent finding. No KEV listing and no EPSS score were supplied; exploitation status is 'no public exploit identified at time of analysis' - the VulnCheck entry is an advisory reference, not verified working exploit code, so POC availability should not be inferred. The signals are mutually consistent rather than conflicting: this is a genuine correctness/malleability defect that matters only to a specific class of deployments (string-keyed replay/revocation controls), not a broadly exploitable authentication compromise. Treat as a hygiene patch, not an emergency.

Exploit ScenarioDerived

An attacker who legitimately holds a single JWE token issued with the dir, ECDH-ES or ECDH-SS algorithm fills the JWE Encrypted Key - which should be empty and is not covered by the authentication tag - with arbitrary bytes, producing unlimited distinct token strings that all still decrypt to the identical header and plaintext. Where the application enforces single-use, replay protection, or revocation by the token string (or its hash) rather than by a claim such as jti, each mutated variant is treated as a brand-new token, so a token meant to be one-time or revoked can be reused. No public exploit code was identified, though the technique is fully described in the GHSA advisory.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Token malleability in web-token/jwt-framework, jwt-library and jwt-encryption lets anyone holding a single valid JWE mint unlimited additional token strings that the library still decrypts, whenever the key-management algorithm is dir, ECDH-ES or ECDH-SS, because JWEDecrypter never enforced that the JWE Encrypted Key is the empty octet sequence and the authentication tag does not cover those bytes. Nothing is disclosed and the plaintext cannot be altered; the practical impact falls on applications that recognise a token by its serialized string or a hash of it, so replay caches, single-use registries and revocation deny-lists treat every variant as a fresh token. Affected releases are jwt-framework and jwt-library before 3.4.13, 4.0.0 to 4.0.8, 4.1.0 to 4.1.10 and 4.2.0 to 4.2.5, plus jwt-encryption through 3.2.10; vendor fixes ship in 3.4.13, 4.0.9, 4.1.11 and 4.2.6, and no public exploit code or active exploitation was identified at time of analysis (priority label: monitor).

RemediationAI

Vendor-released patches fix the issue in jwt-framework and jwt-library 3.4.13, 4.0.9, 4.1.11 and 4.2.6 - upgrade to the build covering your major branch, and note that 3.4.13 is the final release of the 3.4 line, so plan a move to 4.x to keep receiving fixes; jwt-encryption consumers should track the corresponding jwt-library release. The patch makes JWEDecrypter reject a non-empty encrypted key when the algorithm is a direct encryption or direct key agreement, so decryptUsingKey() and decryptUsingKeySet() return false and JWELoader throws its usual exception. Compatibility side effect: tokens produced by the library are unchanged, and an encrypted_key member equal to "" in the JSON serializations is still accepted, but direct-mode tokens whose encrypted key was filled by a non-conforming third-party producer will now be rejected. If you cannot upgrade immediately, the advisory offers two workarounds: identify tokens in replay caches, single-use registries and deny-lists by a claim such as jti instead of the serialized token string (no loss of confidentiality or integrity either way), or, after unserializing and before decrypting, reject any token whose alg is dir, ECDH-ES or ECDH-SS and whose getRecipient($index)->getEncryptedKey() is neither null nor '' - the trade-off being that this custom guard must be applied on every decryption path, including JWELoader, NestedTokenLoader and direct JWEDecrypter calls with a sender key.

Affected VersionsENISA

jwt-library 4.1.0 <4.1.11
jwt-library 0 <3.4.13
jwt-framework 4.2.0 <4.2.6
jwt-framework 0 <3.4.13
jwt-library 4.0.0 <4.0.9
jwt-library 4.2.0 <4.2.6
jwt-encryption 0 ≤3.2.10
jwt-framework 4.0.0 <4.0.9
jwt-framework 4.1.0 <4.1.11

Affected Packages

euvd jwt_encryption no fix
euvd jwt_framework fix: 3.4.13, 4.0.9, 4.1.11, 4.2.6
euvd jwt_library fix: 3.4.13, 4.0.9, 4.1.11, 4.2.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

JSON Web Encryption (RFC 7516) with direct key-management algorithms - Direct Encryption with a Shared Symmetric Key (dir, RFC 7518 §4.5) and Direct Key Agreement (ECDH-ES, §4.6) - carries no wrapped key inside the token, so §5.2 step 10 requires the JWE Encrypted Key to be the empty octet sequence; the same holds for the non-registered ECDH-SS variant. JWEDecrypter in web-token skipped that check for these modes, and because the AEAD authentication tag is computed over the ciphertext and protected header rather than the encrypted key, arbitrary bytes appended to the encrypted_key member leave the header and plaintext intact and decryption still succeeds in compact, JSON flattened and JSON general serializations, with the injected bytes surfaced to the application via Recipient::getEncryptedKey(). This is CWE-345 (insufficient verification of data authenticity): the root cause is a missing input-validation step that dates from the library's first release, giving a many-to-one mapping from token strings to a single accepted protected content. The independent assessment rates this AV:N/AC:L/PR:L/UI:N with C:N/I:L/A:N, i.e. an attacker must already hold a valid token and gains only the ability to produce unrecognised-but-accepted variants. Key-encryption and key-wrapping algorithms (RSA-OAEP, RSA-OAEP-256, RSA1_5, A128KW-A256KW, A128GCMKW-A256GCMKW, PBES2-*, ECDH-ES+A*KW, ECDH-SS+A*KW) are structurally immune because a substituted encrypted key yields a different content encryption key and the token is rejected, and JWEBuilder never emits a non-empty encrypted key for direct algorithms. Exploitation therefore depends on three conditions holding together: the application decrypts dir/ECDH-ES/ECDH-SS JWEs (dir and ECDH-ES reachable through JWELoader, NestedTokenLoader and the bundle's decrypter services; ECDH-SS only through JWEDecrypter called with a sender key), it keys its anti-replay or revocation logic on the serialized token string or a hash of it rather than a claim such as jti, and the attacker has captured one valid token.

Know when Jwt Library 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

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 4.3 MEDIUM

Attacker must already hold a valid token (PR:L) and the trigger is trivial byte substitution (AC:L); only token-string replay/revocation integrity is affected (I:L), with no confidentiality or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 26, 2026 - 17:02 EUVD

DescriptionCVE.org

Web-Token jwt-framework and jwt-library before 3.4.13, 4.0.0 before 4.0.9, 4.1.0 before 4.1.11, and 4.2.0 before 4.2.6, and jwt-encryption through 3.2.10, contain a token malleability flaw because JWEDecrypter does not reject a non-empty JWE Encrypted Key with the dir, ECDH-ES and ECDH-SS algorithms, which the authentication tag does not cover. Attackers holding one token can fill the Encrypted Key with arbitrary bytes to derive unlimited distinct token strings that still decrypt, bypassing replay caches, single-use registries or revocation deny-lists keyed on the token string.

Threat Intelligence Overview

EPSS Score
0.2%
Top 97% exploitable
Prevalence
Medium
popular PHP/Symfony JWT library; only string-keyed JWE replay/revocation setups actually exposed
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2021-3127 HIGH POC
7.5 Mar 16

NATS Server 2.x before 2.2.0 and JWT library before 2.0.1 have Incorrect Access Control because Import Token bindings ar

CVE-2026-134461 HIGH
8.7 Nov 21

Unauthenticated remote attackers can exhaust server CPU in PHP applications using the web-token/jwt-framework or jwt-lib

CVE-2026-134459 HIGH
8.2 Nov 21

PHP applications using web-token/jwt-framework or its jwt-library component that register the RSA1_5 key-encryption algo

CVE-2026-137582 HIGH
8.2 Nov 26

CPU-exhaustion denial of service in web-token/jwt-framework and the related jwt-library, jwt-encryption and jwt-signatur

CVE-2026-137559 HIGH
8.2 Nov 26

CPU exhaustion in web-token JWT Framework (jwt-framework and jwt-library) lets an unauthenticated remote attacker keep P

CVE-2026-137581 HIGH
8.2 Nov 26

Unauthenticated CPU and memory exhaustion in web-token/jwt-framework and web-token/jwt-library lets anyone who can submi

CVE-2026-134458 HIGH
8.2 Nov 21

JWE tokens produced with ECDH-ES (or the non-registered ECDH-SS) direct key agreement and A256CBC-HS512 in web-token/jwt

CVE-2026-137564 HIGH
8.2 Nov 26

Confidentiality loss in web-token/jwt-framework and the underlying jwt-library: JWE tokens produced with direct encrypti

CVE-2026-137560 HIGH
8.2 Nov 26

Unbounded RSA key parameters in web-token/jwt-framework and jwt-library allow a remote, unauthenticated attacker to cons

CVE-2026-137579 HIGH
8.2 Nov 26

Unblinded RSA private key operations in web-token/jwt-framework and jwt-library (all versions before 3.4.13, 4.0.9, 4.1.

CVE-2026-137580 HIGH
8.2 Nov 26

Parsing JSON General serialized JWS tokens in web-token/jwt-framework and the underlying jwt-library (before 3.4.13, 4.0

CVE-2026-137558 MEDIUM
6.3 Nov 26

RSA-OAEP decryption in web-token/jwt-framework and jwt-library accepts a JWE Encrypted Key composed of several RSA block

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy