CVE-2025-56157
Summary
| CVE | CVE-2025-56157 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-12-18 19:16:26 UTC |
| Updated | 2026-07-05 02:16:57 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.007940000 probability, percentile 0.519720000 (date 2026-07-08)
Problem Types: CWE-798 | n/a | CWE-798 CWE-798 Use of Hard-coded Credentials
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Langgenius | Dify | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/langgenius/dify/releases/tag/1.0.1 | [email protected] | github.com | |
| gist.github.com/Cristliu/298f51cbc72c45d91632cd0d65aa8161 | [email protected] | gist.github.com | |
| github.com/langgenius/dify/pull/15286 | [email protected] | github.com | |
| github.com/langgenius/dify | [email protected] | github.com | Product |
| github.com/langgenius/dify/issues/15285 | [email protected] | github.com | |
| github.com/langgenius/dify/pull/15286.diff | [email protected] | github.com | |
| gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | gist.github.com | Exploit, Mitigation, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.