CVE-2025-53960: Apache StreamPark: Use the user’s password as the secret key Vulnerability
CVE-2025-53960 · Severity: medium · CVSS 5.9 · Published 2025-12-12
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.
Yes. org.apache.streampark:streampark (Maven): upgrade to 2.1.7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-53960?
Check whether you run Apache Streampark or org.apache.streampark:streampark (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
org.apache.streampark:streampark (Maven): upgrade to 2.1.7 or later
# set org.apache.streampark:streampark to 2.1.7 in your pom.xml or build.gradle