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 package | Versions | Reported by |
|---|---|---|
| Aiven-Open pghoard | < 2.7.1 | CVE List |
| pghoard (PyPI) | up to 2.1.0 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| GitHub_M | 2.4low CVSS:4.0 | 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 |
| GitHub | low CVSS:4.0 | 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 |
| PyPA Advisory Database | Not scored CVSS:4.0 | 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 |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54711 changed 2026-10-30 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mpx4-jmpr-vm8v changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-54711 changed 2026-10-30 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2872 changed 2026-07-13 | CC-BY-4.0 |