CVE-2026-123135
langgenius dify Sandbox Run __init__.py hard-coded credentials
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| dify langgenius |
1.0 (affected) 1.1 (affected) 1.2 (affected) 1.3 (affected) 1.4 (affected) 1.5 (affected) 1.6 (affected) 1.7 (affected) 1.8 (affected) 1.9 (affected) 1.10 (affected) 1.11 (affected) 1.12 (affected) 1.13 (affected) 1.14 (affected) 1.15 (affected) 1.16 (affected) 1.17 (affected) 1.18.0 (affected) 2.0.0-beta.0 (affected) 2.0.0-beta.1 (affected) 2.0.0-beta.2 (affected) |
CNA: VulDB |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 5.3 medium |
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 | CNA: VulDB |
| 3.1 / 6.3 medium |
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 | CNA: VulDB |
| 3.0 / 6.3 medium |
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 | CNA: VulDB |
| 2.0 / 6.5 medium |
AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C | CNA: VulDB |
| 4.0 / 2.1 low |
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD: [email protected] |
| 3.1 / 6.3 medium |
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L | NVD: [email protected] |
| 2.0 / 6.5 medium |
AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD: [email protected] |
Exploit evidence
References
- https://vuldb.com/vuln/431443CNA: VulDB · vdb-entry
- https://vuldb.com/vuln/431443/ctiCNA: VulDB · signature, permissions-required
- https://vuldb.com/cve/CVE-2026-123135CNA: VulDB · third-party-advisory
- https://vuldb.com/submit/1033133CNA: VulDB · third-party-advisory
- https://github.com/langgenius/dify/issues/44054CNA: VulDB · issue-tracking
- https://github.com/langgenius/dify/pull/44192CNA: VulDB · issue-tracking, patch
- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dify/dify-sandbox-hardcoded-default-api-key.mdCNA: VulDB · exploit
- https://github.com/langgenius/dify/CNA: VulDB · product
- https://github.com/langgenius/dify/[email protected]
- https://github.com/langgenius/dify/issues/44054[email protected]
- https://github.com/langgenius/dify/pull/44192[email protected]
- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dify/dify-sandbox-hardcoded-default-api-key.md[email protected]
- https://vuldb.com/cve/CVE-2026-123135[email protected]
- https://vuldb.com/submit/1033133[email protected]
- https://vuldb.com/vuln/431443[email protected]
- https://vuldb.com/vuln/431443/cti[email protected]
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.