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.

Technologies: Apache Streampark, org.apache.streampark:streampark (Maven). Vendors: Apache, Maven.

Quick answers

Is CVE-2025-53960 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-53960 being exploited in the wild.
How severe is CVE-2025-53960?
Medium severity, with a CVSS score of 5.9, published 12 December 2025.
Which products and versions are affected?
org.apache.streampark:streampark (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.1.7.
Is there a fix for CVE-2025-53960?
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

Affected products

  • Apache Streampark
  • org.apache.streampark:streampark (Maven) ECOSYSTEM:introduced=2.0.0,fixed=2.1.7

Identifiers

  • CVE-2025-53960
  • GHSA-3hg2-rh4r-8qf6

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.