MartialBE one-hub CVE-2025-14651
LOWAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains hard-coded SESSION_SECRET from GitHub
-
DeliveryCrafts forged session token using known secret
-
ExploitSends token in HTTP request to application
-
ExecutionApplication validates token with unchanged secret
-
PersistAttacker gains unauthorized session access
-
ImpactAccesses encrypted or protected session data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management controls
|
| Exploitation Conditions | Exploitation requires the target deployment to use the default docker-compose.yml configuration file from MartialBE one-hub without modifying the SESSION_SECRET environment variable. The attack is further constrained by the necessity for the attacker to either possess knowledge of the hard-coded secret value (available publicly in the GitHub repository) or to derive it through other means such as examining application error messages or leaked configuration files. High attack complexity reflects the need to understand the session token structure and cryptographic scheme. Exploitation does NOT require authentication or elevated privileges, but is limited by the requirement that the default configuration remains unchanged - any organization that customizes the SESSION_SECRET for their environment is not affected. The vulnerability does not apply to deployments using secrets management systems, environment-specific configurations, or upgraded versions with hardened defaults. |
| Impact | CVSS 2.9 with EPSS 0.07% (20th percentile) indicates a low real-world exploitation probability despite the disclosed proof-of-concept. The CVSS vector (AV:N/AC:H) reflects network accessibility but high attack complexity, limiting practical impact. The low EPSS percentile suggests this is not a widespread exploitation target. Key limiting factors: (1) requires deployment using the exact default docker-compose.yml configuration without modification, (2) vendor explicitly warns against production use of this example, (3) high attack complexity reflects the need to know or derive the specific hard-coded secret value, (4) impact is limited to confidentiality (VC:L) with no integrity or availability compromise. Organizations following the vendor's stated guidance and customizing environment variables for production are not at risk. The real priority is legacy or non-compliant deployments that ignore vendor warnings. Exploitation is easier than generic cryptographic attacks but presupposes the attacker has obtained or knows the hard-coded value through public documentation, making this a disclosed-but-not-widespread vulnerability. |
| Exploit ScenarioDerived | An attacker obtains knowledge of the default hard-coded SESSION_SECRET from the public GitHub repository or through reconnaissance of a production instance (e.g., via exposed docker-compose.yml or documentation). Using this known secret, the attacker crafts a forged session token and sends it to the one-hub application via HTTP request. If the application validates the token using the unchanged hard-coded secret, the forged token is accepted, allowing the attacker to impersonate a user and access encrypted or sensitive session data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
MartialBE one-hub up to version 0.14.27 uses a hard-coded cryptographic key in the SESSION_SECRET environment variable of its default docker-compose.yml configuration, allowing remote attackers to potentially decrypt or forge session tokens with high attack complexity. The vulnerability requires non-standard deployment configurations and affects confidentiality rather than integrity or availability. Exploit code has been disclosed publicly, though active exploitation remains unconfirmed by CISA, and the vendor explicitly recommends against using the default Docker Compose example in production environments.
RemediationAI
The primary mitigation is to immediately update MartialBE one-hub to the latest available version and generate a unique, cryptographically strong SESSION_SECRET value (minimum 32 random bytes) via environment variable configuration rather than relying on defaults. Organizations currently running versions 0.14.27 or earlier must replace the default SESSION_SECRET with a custom value using a secure random generator (e.g., openssl rand -hex 32 on Linux/macOS or equivalent tools). The vendor's GitHub repository includes updated examples and documentation recommending against production use of the default docker-compose.yml template. For existing deployments, rotate all active session tokens after updating the SESSION_SECRET to invalidate any tokens generated with the old hard-coded value. If session persistence across deployments is required, document and secure the custom SESSION_SECRET in a secrets management system (e.g., Docker Secrets, Kubernetes Secrets, or HashiCorp Vault) rather than committing it to version control. Review deployment documentation and process controls to prevent future use of example configurations in production. References: github.com/MartialBE/one-hub/issues/872 and the official repository documentation.
Affected ProductsAI
MartialBE one-hub versions up to and including 0.14.27 are affected when deployed using the default docker-compose.yml configuration file without modification to the SESSION_SECRET environment variable. The vulnerable configuration is documented in the official GitHub repository at github.com/MartialBE/one-hub. No CPE string was provided in available sources. The issue was first reported in GitHub issue #872 and acknowledged by the code maintainer.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from CWE-320 (Use of Insufficiently Random Values) in cryptographic key management. MartialBE one-hub is a Docker-based application that relies on a SESSION_SECRET environment variable for session token generation and validation in its default docker-compose.yml configuration file. The default example includes a hard-coded, static session secret (visible at the referenced GitHub line) that is typically insufficient entropy for production cryptographic use. When this default configuration is deployed without modification, all instances share identical session secrets, enabling attackers with knowledge of the hard-coded value to forge valid session tokens or decrypt session data. The attack surface is specific to deployments using the provided Docker Compose example without customization, as the code maintainer emphasizes this template is not intended for production use.
Know when Docker 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
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability has been found in MartialBE one-hub up to 0.14.27. This vulnerability affects unknown code of the file docker-compose.yml. The manipulation of the argument SESSION_SECRET leads to use of hard-coded cryptographic key . The attack may be initiated remotely. The complexity of an attack is rather high. It is stated that the exploitability is difficult. The exploit has been disclosed to the public and may be used. It is recommended to change the configuration settings. The code maintainer recommends (translated from Chinese): "The default docker-compose example file is not recommended for production use. If you intend to use it in production, please carefully check and modify every configuration and environment variable yourself!"
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB