Skip to main content
VulnerabilityPublished Updated

CVE-2025-53960: Apache StreamPark · Use of a Cryptographic Primitive with a Risky Implementation

Affects Apache StreamParkSource CVE Database V5

0

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, 12:55 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Mavenorg.apache.streampark/streamparkpkg:maven/org.apache.streampark/streamparkOther threatsAffected
  • =2.0.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. 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.
  2. 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.
  3. Implement strong password policies and encourage the use of multi-factor authentication (MFA) to reduce the impact of password compromise.
  4. Monitor authentication logs and JWT usage patterns for anomalies that may indicate token forgery or brute-force attempts.
  5. 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.
  6. Conduct regular penetration testing and code reviews focusing on authentication mechanisms to detect similar cryptographic weaknesses.
  7. 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.

References

Community reviews

Loading reviews…