Vulnerability in Langgenius Dify
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.009 (58.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 58th percentile — 58.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
Weakness classification (CWE)
References
- dify.com (Broken Link)
- github.com/langgenius/dify (Product)
- gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd (Exploit, Third Party Advisory, Mitigation)
- gist.github.com/Cristliu/298f51cbc72c45d91632cd0d65aa8161
- github.com/langgenius/dify/releases/tag/1.0.1
- github.com/langgenius/dify/issues/15285
- github.com/langgenius/dify/pull/15286
- github.com/langgenius/dify/pull/15286.diff
Frequently asked questions
- What is CVE-2025-56157?
- CVE-2025-56157 is a critical-severity vulnerability in Langgenius Dify, classified under Use of Hard-coded Credentials. CVSS score: 9.8/10. Published 2025-12-18.
- How severe is CVE-2025-56157?
- Critical severity. CVSS v3 base score is 9.8 out of 10.