← Back to search

CVE-2026-63120

8.4 HIGHpublic exploit available

Published 2026-10-23 · Updated 2026-10-23

AI risk analysis

Summary
pghoard versions before 2.7.2 contain an incomplete path traversal vulnerability (CWE-22) that allows an attacker with write access to the backup object storage to craft malicious delta backup manifests containing path traversal sequences (e.g., ../../../../etc/cron.d/backdoor), leading to arbitrary file writes outside the intended PostgreSQL data directory during restore operations.
Exploitability
Exploitation requires the attacker to have write access to the cloud object storage (S3, GCS, Azure) and to trigger a restore operation via pghoard_restore get-basebackup on a victim system.
Blast radius
Successful exploitation allows arbitrary code execution on the host running pghoard_restore, potentially compromising the entire system and enabling persistence via cron jobs or other mechanisms.
Detection
Look for unexpected file creation outside the pgdata directory during restore operations, especially in sensitive locations such as /etc/cron.d/, /etc/passwd, or other system directories; monitor logs for pghoard_restore activity and anomalous manifest parsing behavior.
Prioritized remediation
Upgrade to pghoard version 2.7.2 or later, which contains the complete fix for the path traversal vulnerability.
path-traversalrcebackupcloud-storagerestore

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

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

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Weaknesses

CWE-22

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.