
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-54711 is an information disclosure vulnerability in PGHoard, an open-source PostgreSQL backup daemon and restore tooling maintained by Aiven. When PGHoard is configured to use .pgpass for database authentication, it inadvertently logs database connection information — including the username and password — at the debug log level. The vulnerability affects PGHoard versions up to and including 2.1.0 (per the GitHub Advisory Database) and all versions prior to 2.7.1 (per the official security advisory). It was disclosed on June 17–18, 2026, and carries a CVSS v4.0 base score of 2.4 (Low) (GitHub Advisory, Aiven Advisory).
The root cause is classified as CWE-532 (Insertion of Sensitive Information into Log File). When PGHoard reads credentials from a .pgpass file to establish a database connection, the connection string — including plaintext username and password — is written to the application's debug-level log output without sanitization or redaction. Exploitation requires local access to the system and high privileges (e.g., access to the log files), and passive user interaction is needed in the sense that a legitimate backup or restore operation must occur to trigger the logging. No public proof-of-concept exploit code has been identified; the issue was discovered by BugCrowd user DRAKOKORIAN (GitHub Advisory, Aiven Advisory).
The primary impact is a low-severity confidentiality breach: database credentials (username and password) stored in .pgpass are exposed in plaintext within debug log files. An attacker or insider with local read access to the log files could harvest these credentials and use them to authenticate directly to the PostgreSQL database, potentially enabling unauthorized data access or lateral movement within the database environment. Integrity and availability of the vulnerable system are not directly affected by this vulnerability (GitHub Advisory).
There is no evidence of in-the-wild exploitation, active exploit kits, or threat actor attribution associated with CVE-2026-54711. The CVE status is currently listed as "Reserved," and no EPSS score or CISA KEV catalog entry has been identified. Exploitation is constrained by the requirement for local access and high privileges, significantly limiting the attack surface (GitHub Advisory, Aiven Advisory).
.pgpass usage: Verify that PGHoard is configured to use a .pgpass file for database authentication, which triggers the vulnerable code path..pgpass and log the full connection string at debug level..pgpass content including username and password fields at DEBUG log level).auditd on Linux).pg_log or postgresql.log using credentials associated with the PGHoard backup user, particularly from unexpected source IPs or at unexpected times.Upgrade PGHoard to version 2.7.1 or greater, which resolves the credential logging issue. As an immediate workaround for environments that cannot upgrade promptly, configure log aggregation or filtering to suppress or redact debug-level log output from PGHoard, preventing credential exposure in log storage. Additionally, restrict read access to PGHoard log files to only the service account running PGHoard (Aiven Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."