{"id":"CVE-2025-56157","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2025-12-18T00:00:00.000Z","updatedAt":"2026-07-05T01:27:39.511Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"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"],"weaknesses":["CWE-798"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/56xxx/CVE-2025-56157.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-56157","state":"PUBLISHED","datePublished":"2025-12-18T00:00:00.000Z","dateUpdated":"2026-07-05T01:27:39.511Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-08-16T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/langgenius/dify"},{"url":"https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd"},{"url":"https://gist.github.com/Cristliu/298f51cbc72c45d91632cd0d65aa8161"},{"url":"https://github.com/langgenius/dify/releases/tag/1.0.1"},{"url":"https://github.com/langgenius/dify/issues/15285"},{"url":"https://github.com/langgenius/dify/pull/15286"},{"url":"https://github.com/langgenius/dify/pull/15286.diff"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2026-07-05T01:27:39.511Z"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/Cristliu/216ddbadaf3258498c93d408683ecabd","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-12-19T17:34:43.893976Z","id":"CVE-2025-56157","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-798","type":"CWE","lang":"en","description":"CWE-798 Use of Hard-coded Credentials"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-19T18:01:55.823Z"}}]}}}