Skip to main content

Apache StreamPark CVE-2025-53960

MEDIUM
Use of a Cryptographic Primitive with a Risky Implementation (CWE-1240)
2025-12-12 security@apache.org
5.9
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

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

  1. Access
    Capture valid StreamPark JWT
  2. Delivery
    Run offline HMAC brute-force against password
  3. Exploit
    Recover user password
  4. Execution
    Forge arbitrary identity token (HS256)
  5. Impact
    Complete 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

maven org.apache.streampark:streampark fix: 2.1.7

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

Vendor (apache) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.4 HIGH

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.

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

Primary rating from Vendor (apache).

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Low
niche Apache stream-processing management platform, limited enterprise footprint
Data Quality
3 sources
Confidence: Low

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

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

cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*
CVE-2025-54947 CRITICAL
9.8 Dec 12

Unauthenticated remote attackers can decrypt sensitive data or forge encrypted tokens in Apache StreamPark 2.0.0 through

CVE-2024-29070 CRITICAL
9.1 Jul 23

On versions before 2.1.4, session is not invalidated after logout. Rated critical severity (CVSS 9.1), this vulnerabilit

CVE-2024-29178 HIGH
8.8 Jul 18

On versions before 2.1.4, a user could log in and perform a template injection attack resulting in Remote Code Execution

CVE-2025-54981 HIGH
7.5 Dec 12

Apache StreamPark 2.0.0 through 2.1.6 encrypts sensitive authentication material, including JWT tokens, using AES in ECB

CVE-2025-30001 HIGH
7.3 Oct 10

Incorrect permission assignment in Apache StreamPark 2.1.4 and 2.1.5 causes tasks launched by the platform to execute un

CVE-2023-49898 HIGH
7.2 Dec 15

In streampark, there is a project module that integrates Maven's compilation capability. Rated high severity (CVSS 7.2),

CVE-2024-34457 MEDIUM
6.5 Jul 22

On versions before 2.1.4, after a regular user successfully logs in, they can manually make a request using the authoriz

CVE-2024-29120 MEDIUM
5.9 Jul 17

In Streampark (version < 2.1.4), when a user logged in successfully, the Backend service would return "Authorization" as

CVE-2023-30867 MEDIUM
4.9 Dec 15

In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fu

CVE-2024-29737 MEDIUM
4.7 Jul 17

In streampark, the project module integrates Maven's compilation capabilities. Rated medium severity (CVSS 4.7), this vu

CVE-2024-48988 HIGH
7.6 Aug 22

SQL Injection vulnerability in Apache StreamPark.1.4 before 2.1.6. Rated high severity (CVSS 7.6), this vulnerability is

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