Medium severity · published Dec 17, 2024
CVE-2024-56142
Path Traversal in pghoard
6.5
CVSS
0.4%
EPSS
No
On KEV
Description
pghoard is a PostgreSQL backup daemon and restore tooling that stores backup data in cloud object stores. A vulnerability has been discovered that could allow an attacker to acquire disk access with privileges equivalent to those of pghoard, allowing for unintended path traversal. Depending on the permissions/privileges assigned to pghoard, this could allow disclosure of sensitive information. This issue has been addressed in releases after 2.2.2a. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 35% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PG
pghoard · Aiven-Open
<= 2.2.2a · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-56142
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-56142
github.com
https://github.com/Aiven-Open/pghoard/security/advisories/GHSA-m9hc-vxjj-4x6q
More from pghoard
8.4
CVE-2026-63120
PGHoard: Incomplete Path Traversal fix in restore.py allows Arbitrary File Write
2.4
CVE-2026-54711
PGHoard: Password written to debug log
