Apache StreamPark
CVE-2025-53960
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture valid StreamPark JWT
-
DeliveryRun offline HMAC brute-force against password
-
ExploitRecover user password
-
ExecutionForge arbitrary identity token (HS256)
-
ImpactComplete account takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic implementation review
|
| Exploitation Conditions | Exploitation requires the attacker to first obtain a valid JWT issued by Apache StreamPark (versions 2.0.0 up to but not including 2.1.7) - for example by intercepting it in transit, reading it from client storage, or recovering it from logs - because the token itself is the material brute-forced offline. The feasibility of the offline brute-force path is directly LIMITED by password strength: long, high-entropy passwords make HMAC key recovery impractical, while weak or common passwords make it trivial. The alternative forging path requires the attacker to already know the victim's password. There is no required user interaction and no authentication to the StreamPark instance is needed to perform the offline attack, but possession of a captured token (or prior password knowledge) is the hard prerequisite. |
| Impact | This is a moderate, not an emergency, priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N = 5.9 Medium) and the 0.26% EPSS score (16th percentile) are mutually consistent and both point to low likelihood of widespread exploitation. The AC:H rating is well-justified: exploitation is not a single crafted request but depends on first capturing a valid JWT and then successfully cracking the password used as the HMAC key - success is gated on password strength, so a strong-password environment largely neutralizes the offline brute-force path. There is no CISA KEV listing and no public exploit was identified in the provided references, so per the signals this is neither actively exploited nor proven weaponized. One internal tension worth flagging: NVD scores impact as C:H/I:N/A:N (information disclosure only), yet the description explicitly states the outcome is 'complete account takeover,' which logically includes an integrity impact via forged identity tokens - the NVD vector appears to under-count integrity (see assessed vector below). Net: a real design flaw worth patching on a normal cycle, but low real-world urgency absent exposure of JWTs and weak passwords. |
| Exploit ScenarioDerived | An attacker who can observe or capture a StreamPark-issued JWT (e.g., from network traffic, browser storage, logs, or a proxy) takes it offline and brute-forces the HMAC signing key, which is simply the user's password. Once the password is recovered - or if it was already known - the attacker forges arbitrary valid identity tokens for that user, including administrative accounts, achieving full account takeover. No public exploit code was identified at time of analysis, so an attacker would need to build the (straightforward) brute-force tooling themselves. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Apache StreamPark 2.0.0 through 2.1.6 signs JSON Web Tokens using the user's own password as the HMAC (HS256) signing key, so anyone who captures a valid token can attack the password offline, and anyone who already knows the password can forge identity tokens for that user, leading to full account takeover. The CVSS vector is AV:N/AC:H/PR:N/UI:N, meaning unauthenticated remote attackers need no interaction from the victim, but the hard prerequisite is possession of a captured JWT (or prior knowledge of the password); the offline path is fundamentally limited by password strength, so long high-entropy passwords make recovery impractical while weak or common passwords fall quickly. No public exploit code was identified at time of analysis and there is no CISA KEV entry, and EPSS is low at 0.26% (16th percentile), which supports treating this as a moderate rather than emergency priority. Affected deployments should upgrade to Apache StreamPark 2.1.7, which fixes the issue.
RemediationAI
Upgrade to Apache StreamPark 2.1.7 (vendor-released patch), which removes the use of the user password as the JWT HMAC signing key - this is the primary and recommended fix; see the advisory at https://lists.apache.org/thread/xlpvfzf5l5m5mfyjwrz5h4dssm3c32vy and the OSS-Security notice at http://www.openwall.com/lists/oss-security/2025/12/04/1. Because JWTs signed with the old scheme may remain valid or remain capturable, pair the upgrade with (1) forcing a password reset for all StreamPark users, since previously issued tokens let an attacker who already captured one continue offline brute-force attempts no matter what the server changes, at the cost of user disruption; (2) enforcing strong, high-entropy passwords and rejecting weak/breached ones, which directly blunts the offline brute-force path since feasibility is governed by password strength; and (3) treating JWT storage and transport as sensitive - terminate TLS everywhere, avoid logging bearer tokens, shorten token lifetimes, and avoid persisting tokens in browser local storage or other easily recovered locations - to reduce the chance a token is captured in the first place. Rotating any shared or default credentials and reviewing logs for token leakage are reasonable compensating measures if the upgrade cannot be applied immediately, but they do not eliminate the underlying risk.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-1240, use of a cryptographic primitive with a risky implementation. Instead of deriving the JWT HMAC key from a server-held secret or a proper key-derivation function, Apache StreamPark used the plaintext user password directly as the HS256 signing key. Because HMAC verification is a purely offline operation, a stolen token gives an attacker everything needed to test password guesses locally at high speed, with no rate limiting, lockout, or server-side detection - a captured signature effectively becomes a verifiable password hash. The same design flaw enables the inverse attack: anyone who learns the password can mint arbitrary tokens impersonating that user without needing the server's secret, since the password IS the key. The CPE cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:* tracks the affected StreamPark product line, with the vulnerable range being 2.0.0 up to but not including 2.1.7. The assessed vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N) reflects unauthenticated network access with high complexity and no user interaction, and both confidentiality and integrity impact rated High.
Know when Streampark 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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
AC:H because exploitation depends on capturing a JWT and cracking the password; PR:N/UI:N as the offline attack needs no prior access; C:H and I:H because password recovery plus token forgery yields full account takeover.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
When issuing JSON Web Tokens (JWT), Apache StreamPark directly uses the user's password as the HMAC signing key (e.g., with the HS256 algorithm). An attacker can exploit this vulnerability to perform offline brute-force attacks on the user's password using a captured JWT, or to arbitrarily forge identity tokens for the user if the password is already known, ultimately leading to complete account takeover.
This issue affects Apache StreamPark: from 2.0.0 before 2.1.7.
Users are recommended to upgrade to version 2.1.7, which fixes the issue.
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
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)CVE.org
More in Streampark
View allUnauthenticated remote attackers can decrypt sensitive data or forge encrypted tokens in Apache StreamPark 2.0.0 through
On versions before 2.1.4, session is not invalidated after logout. Rated critical severity (CVSS 9.1), this vulnerabilit
On versions before 2.1.4, a user could log in and perform a template injection attack resulting in Remote Code Execution
Apache StreamPark 2.0.0 through 2.1.6 encrypts sensitive authentication material, including JWT tokens, using AES in ECB
Incorrect permission assignment in Apache StreamPark 2.1.4 and 2.1.5 causes tasks launched by the platform to execute un
In streampark, there is a project module that integrates Maven's compilation capability. Rated high severity (CVSS 7.2),
On versions before 2.1.4, after a regular user successfully logs in, they can manually make a request using the authoriz
In Streampark (version < 2.1.4), when a user logged in successfully, the Backend service would return "Authorization" as
In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fu
In streampark, the project module integrates Maven's compilation capabilities. Rated medium severity (CVSS 4.7), this vu
SQL Injection vulnerability in Apache StreamPark.1.4 before 2.1.6. Rated high severity (CVSS 7.6), this vulnerability is
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB