MartialBE One-Hub Hard-Coded Cryptographic Key Vulnerability in Docker-Compose Configuration

Vulnerability

A vulnerability exists in MartialBE One-Hub versions up to 0.14.27, specifically within the default Docker-Compose file. The issue arises from the SESSION_SECRET variable, which is set to a default value that can be easily exploited. This vulnerability allows for the use of a hard-coded cryptographic key, potentially compromising the application's security. The flaw can be exploited remotely, although it requires a high level of complexity. The vulnerability has been publicly disclosed and is actively exploitable.

Impact

Exploitation of this vulnerability allows attackers to forge JSON Web Tokens (JWTs) by using the default SESSION_SECRET key. This could grant them unauthorized access to sensitive administrative privileges within the application, such as managing user accounts or accessing confidential data.

Reproduction

The vulnerability can be reproduced by deploying the application using the default Docker-Compose file without modifying the SESSION_SECRET value. Once the application is running, a JWT can be created using the hard-coded SESSION_SECRET. This token can then be used to access sensitive administrative endpoints, demonstrating the vulnerability.

Remediation

Users are advised to manually change the SESSION_SECRET and USER_TOKEN_SECRET values to secure, random strings before deploying the application in a production environment.

Added: Dec 14, 2025, 9:18 AM
Updated: Dec 14, 2025, 9:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
5.0
exploitability
8.7
remediation
0.0
relevance
1.4
threat
6.4
urgency
2.9
incentive
5.8

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.