CVE-2026-54711
JSON

2.4low

PGHoard: Password written to debug log

Severity
2.4low CVSS:4.0 by GitHub_M
Exploit likelihood
0.16% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mpx4-jmpr-vm8vPYSEC-2026-2872

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.

Affected

Product or packageVersionsReported by
Aiven-Open pghoard< 2.7.1CVE List
pghoard (PyPI)up to 2.1.0GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M2.4low CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
GitHublow CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Classification

CWE-532

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Impact

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

Patches

Upgrade to version 2.7.1 or greater.

Workarounds

Filter out debug-level logs.

References

This issue was discovered by BugCrowd user DRAKOKORIAN.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-54711 changed 2026-10-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-mpx4-jmpr-vm8v changed 2026-07-13CC-BY-4.0
NVDCVE-2026-54711 changed 2026-10-30Public domain
PyPA Advisory DatabasePYSEC-2026-2872 changed 2026-07-13CC-BY-4.0