CVE-2025-53960: Apache StreamPark · Use of a Cryptographic Primitive with a Risky Implementation
Affects Apache StreamParkSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium · fixed in 2.1.7 : update Apache StreamPark when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.7
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.apache.streampark/streamparkpkg:maven/org.apache.streampark/streamparkOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Upgrade Apache StreamPark to version 2.1.7 or later immediately, as this version includes a fix that replaces the insecure use of passwords as HMAC keys.
- Review and audit all JWT implementations within the environment to ensure that cryptographic keys are generated securely and are not derived directly from user passwords.
- Implement strong password policies and encourage the use of multi-factor authentication (MFA) to reduce the impact of password compromise.
- Monitor authentication logs and JWT usage patterns for anomalies that may indicate token forgery or brute-force attempts.
- Educate developers and security teams on secure cryptographic practices, emphasizing the importance of using dedicated, high-entropy keys for token signing rather than user credentials.
- Conduct regular penetration testing and code reviews focusing on authentication mechanisms to detect similar cryptographic weaknesses.
- If upgrading immediately is not feasible, consider implementing compensating controls such as limiting JWT lifetimes and enforcing strict token validation rules to reduce the attack window.
Description
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.