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

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

EU advisories (EUVD)

Affected products (1)

More vulnerabilities in Langgenius Dify

All CVEs affecting Langgenius Dify →

Other CWE-798 (Use of Hard-coded Credentials) vulnerabilities

Browse all CWE-798 (Use of Hard-coded Credentials) vulnerabilities →