{"id":"GHSA-mpx4-jmpr-vm8v","summary":"PGHoard: Password written to debug log","details":"### Impact\nWhen using .pgpass, database connection information including the username and password will be logged at the debug level.\n\n### Patches\nUpgrade to version 2.7.1 or greater.\n\n### Workarounds\nFilter out debug-level logs.\n\n### References\nThis issue was discovered by BugCrowd user DRAKOKORIAN.","aliases":["CVE-2026-54711","PYSEC-2026-2872"],"modified":"2026-07-13T16:42:55.738011130Z","published":"2026-06-18T15:05:20Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-06-18T15:05:20Z","nvd_published_at":null,"cwe_ids":["CWE-532"],"severity":"LOW"},"references":[{"type":"WEB","url":"https://github.com/Aiven-Open/pghoard/security/advisories/GHSA-mpx4-jmpr-vm8v"},{"type":"PACKAGE","url":"https://github.com/Aiven-Open/pghoard"}],"affected":[{"package":{"name":"pghoard","ecosystem":"PyPI","purl":"pkg:pypi/pghoard"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.1.0"}]}],"versions":["1.0.0","1.1.0","1.2.0","1.3.0","1.4.0","1.5.0","1.7.0","2.0.0","2.1.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-mpx4-jmpr-vm8v/GHSA-mpx4-jmpr-vm8v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"}]}