Description
pghoard is a PostgreSQL backup daemon and restore tooling that stores backup data in cloud object stores. Prior to version 2.7.1, when using .pgpass, database connection information including the username and password will be logged at the debug level. This issue has been patched in version 2.7.1.
Published: 2026-10-23
Score: 2.4 Low
EPSS: n/a
KEV: No
Impact: Credentials may be exposed through debug logs
Action: Apply Patch
AI Analysis

Impact

pghoard logs PostgreSQL connection details, including usernames and passwords, at the debug level when a .pgpass file is used. This flaw, catalogued as CWE-532, can reveal sensitive credentials to anyone able to read the debug log output, enabling credential theft or account takeover if the logs are accessible to attackers or compromised staff. The CVSS score of 2.4 reflects the limited impact scope, as the vulnerability requires the debug mode to be enabled and does not allow arbitrary code execution or system compromise.

Affected Systems

The Aiven-Open pghoard backup daemon is affected. All versions prior to 2.7.1 expose the .pgpass contents in debug logs. Upgrading to 2.7.1 or later removes the insecure logging functionality.

Risk and Exploitability

Risk assessment indicates low severity with a CVSS of 2.4 and no presence in the CISA KEV catalog. Exploitability is contingent on an attacker having access to the debug log files or the ability to enable debugging. If debug logging is disabled or log access is properly restricted, the risk is largely mitigated.

Generated by OpenCVE AI on October 23, 2026 at 13:50 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pghoard to version 2.7.1 or later to eliminate insecure logging of credentials.
  • If upgrading is not immediately possible, disable debug logging or restrict access to the log files to prevent credential exposure.
  • Remove or secure the use of .pgpass files, or ensure credentials are stored in a secure vault rather than plaintext files.

Generated by OpenCVE AI on October 23, 2026 at 13:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-mpx4-jmpr-vm8v PGHoard: Password written to debug log
History

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description pghoard is a PostgreSQL backup daemon and restore tooling that stores backup data in cloud object stores. Prior to version 2.7.1, when using .pgpass, database connection information including the username and password will be logged at the debug level. This issue has been patched in version 2.7.1.
Title PGHoard: Password written to debug log
Weaknesses CWE-532
References
Metrics cvssV4_0

{'score': 2.4, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T12:16:38.258Z

Reserved: 2026-06-15T22:58:06.563Z

Link: CVE-2026-54711

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:09.643

Modified: 2026-10-23T13:17:09.643

Link: CVE-2026-54711

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:00:18Z

Weaknesses
  • CWE-532

    Insertion of Sensitive Information into Log File