Vulnerability · Published Oct 23, 2026 · Assigned by GitHub_M
CVE-2026-63120PGHoard: Incomplete Path Traversal fix in restore.py allows Arbitrary File Write
High 8.4
In plain English
A high-severity path traversal in pghoard from Aiven-Open. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities).
Official description
pghoard is a PostgreSQL backup daemon and restore tooling that stores backup data in cloud object stores. Prior to version 2.7.2, an incomplete path traversal fix in pghoard allows an attacker with write access to the backup object storage (such as S3, GCS, or Azure) to execute arbitrary file writes and directory creation outside the designated PostgreSQL data directory (pgdata). When a database administrator executes a restore operation (via pghoard_restore get-basebackup), a maliciously crafted delta backup manifest with path traversal sequences (e.g., ../../../../etc/cron.d/backdoor) will write arbitrary payloads to the host system. This issue has been patched in version 2.7.2.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Aiven-Open | pghoard | < 2.7.2 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/Aiven-Open/pghoard/security/advisories/GHSA-rh99-q79h-vvx3 x_refsource_CONFIRM
- https://github.com/Aiven-Open/pghoard/releases/tag/2.7.2 x_refsource_MISC