Home / Langgenius / Dify / CVE-2025-56157
CVE-2025-56157: is it exploited, and which versions of Langgenius Dify are affected and fixed?
CVE-2025-56157 is a hard-coded credentials vulnerability in Langgenius Dify. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: dify through 1.5.1 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:15 UTC.
What is CVE-2025-56157?
Default credentials in Dify thru 1.5.1. PostgreSQL username and password specified in the docker-compose.yaml file included in its source code. NOTE: the Supplier reports that the Docker configuration does not make PostgreSQL (on TCP port 5432) exposed by default in version 1.0.1 or later.
From the CVE record by mitre, last updated July 5, 2026, 01:27 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| langgenius | dify | through 1.5.1 | application |
NVD analysis (status Modified), last modified October 13, 2026, 11:10 UTC.
How severe is CVE-2025-56157?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-56157 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, December 19, 2025)
- EPSS
- 0.91% probability of exploitation activity in the next 30 days, percentile 61.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-798 Use of Hard-coded Credentials
Where are the vendor advisories and references?
- https://github.com/langgenius/dify
- https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd
- https://gist.github.com/Cristliu/298f51cbc72c45d91632cd0d65aa8161
- https://github.com/langgenius/dify/releases/tag/1.0.1
- https://github.com/langgenius/dify/issues/15285
- https://github.com/langgenius/dify/pull/15286
- https://github.com/langgenius/dify/pull/15286.diff
When was it published, and where is the official record?
- Reserved
- August 16, 2025
- Published
- December 18, 2025, 00:00 UTC
- CVE record updated
- July 5, 2026, 01:27 UTC by mitre
- NVD
- Modified, last modified October 13, 2026, 11:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:15 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Dify?
- Nov 6, 2026CVE-2026-58141 langgenius dify: server-side request forgery (SSRF)
- Nov 5, 2026CVE-2026-123135 langgenius dify: hard-coded credentials
- Oct 5, 2026CVE-2026-105762 langgenius dify: server-side request forgery (SSRF)
- Oct 5, 2026CVE-2026-105761 langgenius dify: authorization bypass through a user-controlled key (IDOR)
- Sep 3, 2026CVE-2026-85022 langgenius dify: cross-site scripting (XSS)
- Sep 3, 2026CVE-2026-85021 langgenius dify: cross-site scripting (XSS)
- Aug 3, 2026CVE-2026-18632 langgenius dify: template injection
- Jul 29, 2026CVE-2026-18266 LangGenius Dify: open redirect
Questions about CVE-2025-56157
Is CVE-2025-56157 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.91% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Langgenius Dify are affected by CVE-2025-56157?
dify through 1.5.1, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2025-56157?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2025-56157?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-56157?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.