CVE-2025-53960

Apache StreamPark: Uses the user’s password as the secret key

State
Published
Severity
5.9 Medium
Published
Dec 12, 2025
Updated
Dec 16, 2025
Reserved
Jul 15, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-1240 Use of a Cryptographic Primitive with a Risky Implementation

Affected Products

ProductVersions
Apache StreamParkApache Software Foundation
  • 2.0.0 to before 2.1.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.