CVE-2026-123135

langgenius dify Sandbox Run __init__.py hard-coded credentials

Published Nov 5, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was found in langgenius dify up to 1.18.0/2.0.0-beta.2. Affected by this vulnerability is an unknown functionality of the file api/configs/feature/__init__.py of the component Sandbox Run Handler. The manipulation results in hard-coded credentials. The attack can be launched remotely. The exploit has been made public and could be used.

Analysis

AI-generated

Technical impact

A vulnerability was discovered in langgenius Dify’s Sandbox Run Handler where the file `api/configs/feature/__init__.py` contains hard‑coded credentials. This flaw allows an attacker to obtain privileged access by exploiting the exposed credentials, potentially enabling unauthorized use of the API. The impact is a compromise of confidentiality and integrity for the data accessed through the API, and can be leveraged remotely as the exploit is publicly available.

Affected Systems

The flaw affects Dify versions up to 1.18.0 and 2.0.0‑beta.2. Any installation of these versions that exposes the Sandbox Run Handler component is vulnerable. No later releases are listed as affected.

Risk and Exploitability

The vulnerability has a CVSS score of 5.3, indicating moderate severity. The EPSS score is not available, and it is not listed in the CISA KEV catalog. The attack vector is remote; an attacker can launch the exploit from outside the network, and the exploit has been publicized. The risk is primarily the potential for unauthorized access and misuse of API functionality, rather than arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Dify to a version newer than 1.18.0 or 2.0.0‑beta.2 where the hard‑coded credentials are removed.
  • If an update is not immediately feasible, disable or remove the Sandbox Run Handler feature from the configuration to eliminate the exposure.
  • Re‑configure the application to use secure, properly managed API keys instead of the default hard‑coded ones, ensuring that all credentials are stored in a secure secrets manager and not in code.

Generated by OpenCVE AI on November 5, 2026 at 20:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was found in langgenius dify up to 1.18.0/2.0.0-beta.2. Affected by this vulnerability is an unknown functionality of the file api/configs/feature/__init__.py of the component Sandbox Run Handler. The manipulation results in hard-coded credentials. The attack can be launched remotely. The exploit has been made public and could be used.
Title langgenius dify Sandbox Run __init__.py hard-coded credentials
First Time appeared Langgenius
Langgenius dify
Weaknesses CWE-259
CWE-798
CPEs cpe:2.3:a:langgenius:dify:*:*:*:*:*:*:*:*
Vendors & Products Langgenius
Langgenius dify
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:C'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-259

    Use of Hard-coded Password

  • CWE-798

    Use of Hard-coded Credentials

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 9, 2026, 6:01 PM
Reserved
Nov 5, 2026, 1:55 PM
Status
Deferred
Published
Nov 5, 2026, 7:17 PM
Modified
Nov 9, 2026, 6:17 PM