Vulnerability · Published Dec 18, 2025 · Assigned by mitre
CVE-2025-56157
Critical 9.8
In plain English
A critical-severity hard-coded credentials in the affected software. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities).
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.9%top 41.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
Weakness: CWE-798 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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