IA Squad
SearchPT
python · pghoardHeads-up

pghoard logs .pgpass credentials in debug output

When using .pgpass, database connection information including username and password is logged at debug level.

19 Jun 2026Read 1 minSeverity: schedule it

What changed

When using .pgpass, database connection information including username and password is logged at debug level.

Who it affects

Users of pghoard who use .pgpass for database connections and have debug logging enabled.

What to do today

Upgrade to version 2.7.1 or greater, or filter out debug-level logs.

The trail
Collected Audited Written Published