Skip to main content
← All vulnerabilities
CVE-2026-63120EUVD-2026-108915GHSA-RH99-Q79H-VVX3

PGHoard: Incomplete Path Traversal fix in restore.py allows Arbitrary File Write

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.7.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

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.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  4. Record last updated

Affected versions

  • Aiven-Open pghoard

    fixed in 2.7.2

References 2

GitHub · Aiven-Open/pghoard