# CVE-2025-54981: Apache StreamPark uses a Weak Encryption Algorithm

Source: https://junglewise.ai/threats/cve-2025-54981-apache-streampark-uses-a-weak-encryption-algorithm  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-12-12  
License: CC BY 4.0 with a link back

CVE-2025-54981 · Severity: high · CVSS 7.5 · Published 2025-12-12

Weak Encryption Algorithm in StreamPark, The use of an AES cipher in ECB mode and a weak random number generator for encrypting sensitive data, including JWT tokens, may have risked exposing sensitive authentication data

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](https://junglewise.ai/threats/technologies/streampark), [org.apache.streampark:streampark (Maven)](https://junglewise.ai/threats/technologies/org-apache-streampark-streampark). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2025-54981 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-54981 being exploited in the wild.

**How severe is CVE-2025-54981?** High severity, with a CVSS score of 7.5, 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-54981?** 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-54981?** 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

  ```sh
  # 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-54981
- GHSA-749j-2hp6-8cxm

## Related threats

- [Apache StreamPark: Use the user’s password as the secret key Vulnerability](https://junglewise.ai/threats/cve-2025-53960-apache-streampark-use-the-user-s-password-as-the-secret-key)
- [Apache StreamPark has a hard-coded encryption key](https://junglewise.ai/threats/cve-2025-54947-apache-streampark-has-a-hard-coded-encryption-key)
- [Incorrect Execution-Assigned Permissions vulnerability in Apache StreamPark. This issue affects Apache StreamPark: from 2.1.4 before 2.1.6.](https://junglewise.ai/threats/cve-2025-30001-apache-streampark-contains-an-incorrect-execution-assigned)
- [Apache StreamPark: FreeMarker SSTI RCE Vulnerability](https://junglewise.ai/threats/cve-2024-29178-apache-streampark-freemarker-ssti-rce-vulnerability)
- [Apache StreamPark: Information leakage vulnerability](https://junglewise.ai/threats/cve-2024-29120-apache-streampark-information-leakage-vulnerability)
