{"id":"PYSEC-2026-2872","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","GHSA-mpx4-jmpr-vm8v"],"modified":"2026-07-13T16:32:56.983457365Z","published":"2026-07-13T15:46:21.090761Z","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"},{"type":"PACKAGE","url":"https://pypi.org/project/pghoard"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-mpx4-jmpr-vm8v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54711"}],"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/pypa/advisory-database/blob/main/vulns/pghoard/PYSEC-2026-2872.yaml"}}],"schema_version":"1.7.5","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"}]}