# CVE-2026-123135: langgenius dify Sandbox Run __init__.py hard-coded credentials

Status: published. Published: 2026-11-05. Updated: 2026-11-09.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/langgenius/dify/pull/44192

## Affected products and versions

- langgenius / dify: 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). Source: CNA: VulDB

## Severity and prioritization

- CVSS 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; source: CNA: VulDB

- CVSS 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; source: CNA: VulDB

- CVSS 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; source: CNA: VulDB

- CVSS 2.0: 6.5 (medium); AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:C; source: CNA: VulDB

- CVSS 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; source: NVD: cna@vuldb.com

- CVSS 3.1: 6.3 (medium); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L; source: NVD: cna@vuldb.com

- CVSS 2.0: 6.5 (medium); AV:N/AC:L/Au:S/C:P/I:P/A:P; source: NVD: cna@vuldb.com

- CISA KEV: No listing in collected sources

- EPSS: 0.21% as of 2026-11-09; percentile 11.85%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-798, CWE-259

## Exploit evidence

- exploit: https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dify/dify-sandbox-hardcoded-default-api-key.md (CNA: VulDB)

## References

- https://vuldb.com/vuln/431443 (CNA: VulDB; vdb-entry)

- https://vuldb.com/vuln/431443/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-123135 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1033133 (CNA: VulDB; third-party-advisory)

- https://github.com/langgenius/dify/issues/44054 (CNA: VulDB; issue-tracking)

- https://github.com/langgenius/dify/pull/44192 (CNA: VulDB; issue-tracking, patch)

- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dify/dify-sandbox-hardcoded-default-api-key.md (CNA: VulDB; exploit)

- https://github.com/langgenius/dify/ (CNA: VulDB; product)

- https://github.com/langgenius/dify/ (cna@vuldb.com)

- https://github.com/langgenius/dify/issues/44054 (cna@vuldb.com)

- https://github.com/langgenius/dify/pull/44192 (cna@vuldb.com)

- https://github.com/ybyu-ieu/agent-security-advisories/blob/main/dify/dify-sandbox-hardcoded-default-api-key.md (cna@vuldb.com)

- https://vuldb.com/cve/CVE-2026-123135 (cna@vuldb.com)

- https://vuldb.com/submit/1033133 (cna@vuldb.com)

- https://vuldb.com/vuln/431443 (cna@vuldb.com)

- https://vuldb.com/vuln/431443/cti (cna@vuldb.com)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-123135; retrieved 2026-11-09; source updated 2026-11-09

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-123135; retrieved 2026-11-06; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-123135; retrieved 2026-11-09; source updated Not reported

Revision: 82d2cf81da441d025511f248bfaf6c627b620b13a931268a5480c4a94dc62d9c

Canonical: https://y2.dev/cve/CVE-2026-123135

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.