CVE-2025-56157
CVE-2025-56157 is a critical-severity vulnerability in Langgenius Dify with a CVSS 3.x base score of 9.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-798.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 1% (52nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-204372
- Weakness: CWE-798
- Affected product: Langgenius Dify
- Published:
- Last modified:
Description
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.
Frequently asked questions
- 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.
- How severe is CVE-2025-56157?
- CVE-2025-56157 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-56157 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (52nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-56157?
- CVE-2025-56157 affects Langgenius Dify. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-56157?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-56157 have an EU (EUVD) identifier?
- Yes. CVE-2025-56157 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-204372.
- When was CVE-2025-56157 published?
- CVE-2025-56157 was published on 2025-12-18 and last updated on 2026-07-05.
References
- https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd
- https://gist.github.com/Cristliu/298f51cbc72c45d91632cd0d65aa8161
- https://github.com/langgenius/dify
- https://github.com/langgenius/dify/issues/15285
- https://github.com/langgenius/dify/pull/15286
- https://github.com/langgenius/dify/pull/15286.diff
- https://github.com/langgenius/dify/releases/tag/1.0.1
EU advisories (EUVD)
Affected products (1)
- cpe:2.3:a:langgenius:dify:*:*:*:*:*:node.js:*:*
More vulnerabilities in Langgenius Dify
- CVE-2025-63388 — Critical (CVSS 9.1): A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the…
- CVE-2025-63386 — Critical (CVSS 9.1): A Cross-Origin Resource Sharing (CORS) misconfiguration vulnerability exists in Dify v1.9.1 in the /console/api/setup…
- CVE-2025-1796 — High (CVSS 8.8): A vulnerability in langgenius/dify v0.10.1 allows an attacker to take over any account, including administrator…
- CVE-2024-12776 — High (CVSS 8.1): In langgenius/dify v0.10.1, the `/forgot-password/resets` endpoint does not verify the password reset code, allowing an…
- CVE-2024-12039 — High (CVSS 8.1): langgenius/dify version v0.10.1 contains a vulnerability where there are no limits applied to the number of code guess…
- CVE-2025-43862 — High (CVSS 7.6): Dify is an open-source LLM app development platform. Prior to version 0.6.12, a normal user is able to access and…
All CVEs affecting Langgenius Dify →
Other CWE-798 (Use of Hard-coded Credentials) vulnerabilities
- CVE-2026-13768 — Critical (CVSS 10.0): Gardyn devices expose a privileged iothubowner key. Access to this key will allow a malicious user to invoke an IoTHub…
- CVE-2026-45631 — Critical (CVSS 10.0): Dokploy is a free, self-hostable Platform as a Service (PaaS). From 0.27.0 to before 0.29.3, a hardcoded…
- CVE-2026-22769 — Critical (CVSS 10.0): Dell RecoverPoint for Virtual Machines, versions prior to 6.0.3.1 HF1, contain a hardcoded credential vulnerability.…
- CVE-2025-42890 — Critical (CVSS 10.0): SQL Anywhere Monitor (Non-GUI) baked credentials into the code,exposing the resources or functionality to unintended…
- CVE-2025-7503 — Critical (CVSS 10.0): An OEM IP camera manufactured by Shenzhen Liandian Communication Technology LTD exposes a Telnet service (port 23) with…
- CVE-2025-20309 — Critical (CVSS 10.0): A vulnerability in Cisco Unified Communications Manager (Unified CM) and Cisco Unified Communications Manager Session…
Browse all CWE-798 (Use of Hard-coded Credentials) vulnerabilities →