CVE-2025-56157
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-12-18
- Last modified
- 2026-10-13
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scored by
- 134c704f-9b21-4f2e-91b3-4a467353bcc0
- Probability of exploitation
-
0.8 %
higher than 54 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Langgenius | Dify | ≤ 1.5.1 | Affected |
Weakness type
-
CWE-798: Use of Hard-coded Credentials
The product contains hard-coded credentials, such as a password or cryptographic key.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1078.001: Default Accounts
- T1552.001: Credentials In Files
References
- https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd
- https://github.com/langgenius/dify
- https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd
- https://gist.github.com/Cristliu/298f51cbc72c45d91632cd0d65aa8161
- 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
Related at Berigo
Articles
-
Only one of the 91 vulnerabilities Spring patched is rated critical
Same product
2026-08-25
Spring has patched 91 vulnerabilities spread across a range of subprojects, and the advisories on spring.io are dated 20 August. Spring rates one of …
-
A critical GitLab flaw can allow project deletion without login
Same product
2026-08-18
On 17 August 2026 GitLab shipped an out of band patch release. It fixes two vulnerabilities in the GraphQL layer, the more serious one scoring CVSS 9…
-
Cursor can execute a malicious file from a repository
Same product
2026-07-14
Mindgard has shown that Cursor on Windows can execute a malicious git.exe placed in a repository root without prompting the user.
-
Arbitrary file overwrite vulnerability in FreeBSD
Same product
2026-06-06
CVE-2026-45257 in FreeBSD kernel TLS lets a local user with read access overwrite a file's contents, enabling privilege escalation.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.