Skip to content
Heist/ feed
High

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Source revision 1
Original source ↗

CVE-2026-63120

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-63120

pghoard

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "Aiven-Open",
    "product": "pghoard",
    "versions": [
      {
        "status": "affected",
        "version": "< 2.7.2"
      }
    ]
  }
]
Related CVEs
CVE-2026-63120

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#53047 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement