# CVE-2025-56157: Default credentials in Dify thru 1.5.1.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.91%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-18T00:00:00.000Z
- Modified: 2026-10-13T11:10:00.203Z
- Weaknesses: CWE-798
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- langgenius dify: up to 1.5.1

## References

- <https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd> (exploit, mitigation, third-party-advisory)
- <https://github.com/langgenius/dify> (product)
- <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>

## Sources

- CVE List: [CVE-2025-56157](https://www.cve.org/CVERecord?id=CVE-2025-56157), CVE Terms of Use, modified 2026-07-05
- NVD: [CVE-2025-56157](https://nvd.nist.gov/vuln/detail/CVE-2025-56157), Public domain, modified 2026-10-13

---

Page: https://cve.day/CVE-2025-56157 · Whole record: https://cve.day/CVE-2025-56157.json · Rebuilt by cve.day 2026-11-25T22:59:09.703Z
