---
id: CVE-2025-53960
title: >-
  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)
summary: >-
  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
  us…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-1240
vendor: apache
product: streampark
affected:
  - 'streampark >= 2.0.0, < 2.1.7'
patched:
  - streampark 2.1.7
published: '2025-12-12'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-53960'
references:
  - url: 'https://lists.apache.org/thread/xlpvfzf5l5m5mfyjwrz5h4dssm3c32vy'
    label: security@apache.org
  - url: 'http://www.openwall.com/lists/oss-security/2025/12/04/1'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
epss: 0.00261
epssPercentile: 0.16268
ingestedAt: '2026-10-07T20:46:46.906Z'
---

## Overview

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.

## Affected

- `streampark >= 2.0.0, < 2.1.7`

## Remediation

Upgrade past the affected range:

- `streampark 2.1.7`
