# CVE-2026-63120: PGHoard: Incomplete Path Traversal fix in restore.py allows Arbitrary File Write

- Severity: High 8.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-23T12:16:36.584Z
- Modified: 2026-10-23T19:57:42.660Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Aiven-Open pghoard: < 2.7.2

## References

- <https://github.com/Aiven-Open/pghoard/security/advisories/GHSA-rh99-q79h-vvx3>
- <https://github.com/Aiven-Open/pghoard/releases/tag/2.7.2>

## Sources

- CVE List: [CVE-2026-63120](https://www.cve.org/CVERecord?id=CVE-2026-63120), CVE Terms of Use, modified 2026-10-23
- NVD: [CVE-2026-63120](https://nvd.nist.gov/vuln/detail/CVE-2026-63120), Public domain, modified 2026-10-23

---

Page: https://cve.day/CVE-2026-63120 · Whole record: https://cve.day/CVE-2026-63120.json · Rebuilt by cve.day 2026-11-25T22:59:46.908Z
