CVE-2025-54947 Apache StreamPark: Use hard-coded key vulnerability

Medium 5.3 Published Updated

Attackers can decrypt sensitive data or forge information using a hard-coded key, leading to information disclosure and unauthorized access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-54947?

CVE-2025-54947 is a medium-severity vulnerability in Apache StreamPark, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Apache StreamPark versions 2.0.0 through 2.1.7, a security vulnerability involving a hard-coded encryption key exists. This vulnerability occurs because the system uses a fixed, immutable key for encryption instead of dynamically generating or securely configuring the key. Attackers may obtain this key through reverse engineering or code analysis, potentially decrypting sensitive data or forging encrypted information, leading to information disclosure or unauthorized system access.

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.

Weakness: CWE-798, CWE-321

Which versions are affected by CVE-2025-54947?

2 open source packages ship an affected version, including org.apache.streampark:streampark. It affects 1 product.

PackageAffectedFixed in
org.apache.streampark:streampark MavenFrom 2.0.02.1.7
org.apache.streampark:streampark MavenFrom 2.0.02.1.7

Products include Apache Streampark.

How do I fix CVE-2025-54947?

Upgrade org.apache.streampark:streampark to 2.1.7 or later.

Is CVE-2025-54947 being exploited?

There is no known exploitation of CVE-2025-54947 in the wild and no public exploit code.

Sources

Also known as GHSA-prv5-c2px-j9q3.

Is CVE-2025-54947 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free