Skip to main content

Apache StreamPark CVE-2025-54947

CRITICAL
Use of Hard-coded Cryptographic Key (CWE-321)
2025-12-12 security@apache.org
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Recover hard-coded key from source/binary
  2. Delivery
    Obtain target ciphertext or token endpoint
  3. Exploit
    Decrypt secrets or forge encrypted token
  4. Execution
    Submit forged token to StreamPark
  5. Impact
    Gain unauthorized access / disclose data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
Exploitation Conditions

The vulnerability exists in default deployments of Apache StreamPark 2.0.0 through 2.1.6 because the application ships with a fixed, immutable encryption key rather than generating or securely configuring one per-install. No special non-default configuration is required for the weakness to be present. Practical exploitation is LIMITED by the need for the attacker to (1) recover the static key via reverse engineering, code analysis, or inspection of the open-source project, and (2) possess attacker-relevant material to act on - i.e., captured encrypted/sensitive data to decrypt, or the ability to present forged encrypted tokens to the StreamPark instance. There is no user-interaction or authentication requirement to recover the key, but value is only realized against reachable encrypted data or token-validating endpoints.

Impact

Signals are mixed and should be read carefully. Apache's official CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) yields 9.8 and treats this as a remote, unauthenticated, low-complexity flaw with full C/I/A impact. However, the A:H (availability) rating is questionable for a hard-coded encryption key (CWE-321): the described impact is decryption of sensitive data and forgery of encrypted information, which maps naturally to confidentiality and integrity, not to denial of service - this inflates the headline score. The EPSS score is low (0.48%, 39th percentile), the CVE is NOT on CISA KEV, and no public exploit was identified in the provided data, so there is no evidence of active or imminent widespread exploitation. The static key is shared across all installations and recoverable via reverse engineering or source review, which is what justifies the network/unauthenticated framing; but practical exploitation still requires the attacker to possess target ciphertext (to decrypt) or a position to inject forged encrypted tokens (to gain access). Net assessment: a genuinely serious cryptographic weakness worth prioritizing for patching, but the real-world urgency is lower than the 9.8 suggests given low EPSS, no KEV, no known POC, and the practical data-access prerequisites.

Exploit ScenarioDerived

An attacker extracts the fixed encryption key from Apache StreamPark's publicly available source code or a deployed binary via reverse engineering. Using that key, the attacker decrypts captured sensitive data (e.g., stored credentials or config secrets) or forges validly-encrypted tokens to impersonate a user or gain unauthorized access to the StreamPark console. No public exploit code was identified at time of analysis, but the key recovery is trivial since it is identical across all 2.0.0-2.1.6 installations.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 07, 2026

Unauthenticated remote attackers can decrypt sensitive data or forge encrypted tokens in Apache StreamPark 2.0.0 through 2.1.6 because the application ships with a hard-coded encryption key (CWE-321) that is recoverable via reverse engineering or code inspection. Exploitation is limited by the need to obtain the key and possess encrypted material or token-validating endpoints; no public exploit code or active exploitation has been identified, and EPSS is low (0.48%, 39th percentile). Signals are mixed and should be read carefully-upgrade to 2.1.7 to resolve the issue.

RemediationAI

Upgrade to Apache StreamPark 2.1.7, which removes the hard-coded key (vendor-released patch). If immediate upgrade is not possible, consider modifying the source code to generate a unique per-installation key and recompiling, but this requires development resources and thorough testing. As a compensating control, restrict network access to StreamPark instances to trusted networks and monitor logs for anomalous decryption or token-forging attempts. These measures reduce but do not eliminate risk. See vendor advisory: https://lists.apache.org/thread/kdntmzyzrco75x9q6mc6s8lty1fxmog1.

Affected Packages

maven org.apache.streampark:streampark fix: 2.1.7

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache StreamPark is a stream processing development framework. The root cause is CWE-321: Use of Hard-coded Cryptographic Key. The application uses a fixed, immutable key for encryption instead of generating or securely configuring one per installation. This key is present in all default deployments of versions 2.0.0 through 2.1.6, making it discoverable by anyone analyzing the open-source code. The CPE cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:* confirms the product, but version specificity comes from the vendor advisory. The assessed CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N indicates unauthenticated remote access with high confidentiality and integrity impact but no availability impact. However, practical exploitation requires the attacker to have relevant encrypted data to decrypt or the ability to present forged encrypted tokens to a StreamPark endpoint.

Know when Streampark gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.1 CRITICAL

Static key shared across installs is recoverable without target authentication (PR:N, AC:L) and enables decryption (C:H) and token forgery/unauthorized access (I:H); no denial-of-service mechanism, so A:N (base 9.1).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionNVD

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.

Executive ViewAI

Why It Matters

Apache StreamPark versions 2.0.0 through 2.1.6 ship with a hard-coded encryption key embedded in the product itself, so the same secret that protects customer and operational data is present in every affected deployment and is recoverable by anyone who inspects the code or a shipped binary. Organizations running an affected version should assume that data, and the tokens StreamPark issues, could be read or forged by an attacker who obtains that key and any encrypted material or reachable token endpoint, which puts downstream systems that trust StreamPark-issued credentials at risk as well. The exposure is systemic rather than situational - it does not depend on a misconfiguration or an internet-facing service, only on the code already deployed - though no public exploit has been identified at time of analysis and observed exploitation likelihood remains low, so this is a remediation-priority issue rather than an active incident.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to StreamPark APIs and management interfaces to trusted sources only, since the key must be obtained and encrypted material or a token-validating endpoint reached for exploitation; treat the hard-coded key as disclosed and rotate it along with any tokens, session state, or downstream credentials that depend on it; re-encrypt data previously protected by that key; log and alert on anomalous token issuance or validation. The technical description points to Apache StreamPark 2.1.7 as the resolving release, so confirm availability directly with the vendor or upstream project and upgrade as soon as it is validated.

Threat Intelligence Overview

EPSS Score
0.5%
Top 61% exploitable
Prevalence
Low
niche Apache stream-processing management platform, limited enterprise footprint
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Affected Products (CPE)NVD

cpe:2.3:a:apache:streampark:*:*:*:*:*:*:*:*
CVE-2024-29070 CRITICAL
9.1 Jul 23

On versions before 2.1.4, session is not invalidated after logout. Rated critical severity (CVSS 9.1), this vulnerabilit

CVE-2024-29178 HIGH
8.8 Jul 18

On versions before 2.1.4, a user could log in and perform a template injection attack resulting in Remote Code Execution

CVE-2025-54981 HIGH
7.5 Dec 12

Apache StreamPark 2.0.0 through 2.1.6 encrypts sensitive authentication material, including JWT tokens, using AES in ECB

CVE-2025-30001 HIGH
7.3 Oct 10

Incorrect permission assignment in Apache StreamPark 2.1.4 and 2.1.5 causes tasks launched by the platform to execute un

CVE-2023-49898 HIGH
7.2 Dec 15

In streampark, there is a project module that integrates Maven's compilation capability. Rated high severity (CVSS 7.2),

CVE-2024-34457 MEDIUM
6.5 Jul 22

On versions before 2.1.4, after a regular user successfully logs in, they can manually make a request using the authoriz

CVE-2025-53960 MEDIUM
5.9 Dec 12

Apache StreamPark 2.0.0 through 2.1.6 signs JSON Web Tokens using the user's own password as the HMAC (HS256) signing ke

CVE-2024-29120 MEDIUM
5.9 Jul 17

In Streampark (version < 2.1.4), when a user logged in successfully, the Backend service would return "Authorization" as

CVE-2023-30867 MEDIUM
4.9 Dec 15

In the Streampark platform, when users log in to the system and use certain features, some pages provide a name-based fu

CVE-2024-29737 MEDIUM
4.7 Jul 17

In streampark, the project module integrates Maven's compilation capabilities. Rated medium severity (CVSS 4.7), this vu

CVE-2024-48988 HIGH
7.6 Aug 22

SQL Injection vulnerability in Apache StreamPark.1.4 before 2.1.6. Rated high severity (CVSS 7.6), this vulnerability is

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy