Skip to main content

MartialBE one-hub CVE-2025-14651

LOW
Key Management Errors (CWE-320)
2025-12-14 cna@vuldb.com
2.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Attacker obtains hard-coded SESSION_SECRET from GitHub
  2. Delivery
    Crafts forged session token using known secret
  3. Exploit
    Sends token in HTTP request to application
  4. Execution
    Application validates token with unchanged secret
  5. Persist
    Attacker gains unauthorized session access
  6. Impact
    Accesses 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 2.9 LOW
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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 80% exploitable
Data Quality
5 sources
Confidence: Medium

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 LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
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
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

14
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +14
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.

More in Docker

View all
CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2019-5736 HIGH POC
8.6 Feb 11

runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac

CVE-2023-32077 HIGH POC
7.5 Aug 24

Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2023-5815 HIGH POC
8.1 Nov 22

The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post

CVE-2026-66384 MEDIUM POC
5.3 Aug 12

Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten

CVE-2014-9357 CRITICAL
10.0 Dec 16

Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build

CVE-2026-52806 CRITICAL POC
9.9 Jun 23

Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config

CVE-2025-14707 HIGH POC
8.9 Dec 15

Unauthenticated remote command injection in SGWBOX N3 firmware 2.0.25 lets attackers execute arbitrary operating-system

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2026-34156 CRITICAL POC
9.9 Mar 30

Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l

CVE-2019-15752 HIGH POC
7.8 Aug 28

Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c

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