Skip to main content

CVE-2026-63120: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Aiven-Open pghoard

0
High
VulnerabilityCVE-2026-63120cvecve-2026-63120cwe-22
Published: 10/23/2026 (10/23/2026, 12:16:36 UTC)
Source: CVE Database V5
Vendor/Project: Aiven-Open
Product: pghoard

Description

CVE-2026-63120 is a path traversal vulnerability in pghoard, a PostgreSQL backup and restore tool. Versions prior to 2.7.2 contain an incomplete fix that allows attackers with write access to backup object storage to write arbitrary files outside the intended PostgreSQL data directory during restore operations. This can lead to arbitrary file writes and directory creation on the host system. The issue is patched in version 2.7.2.

CVSS v3.1

Score 8.4high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H

Affected software

Aiven-Open

pghoard

Affected versions
<2.7.2
GitHub Actionsmore threats →ai
aiven-open/pghoard
pkg:github/aiven-open/pghoard
Affected versions
<2.7.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 12:45:20 UTC

Technical Analysis

pghoard is a PostgreSQL backup daemon that stores backups in cloud object stores. Before version 2.7.2, an incomplete path traversal fix allows an attacker with write access to the backup storage (e.g., S3, GCS, Azure) to craft a malicious delta backup manifest containing path traversal sequences. When a database administrator runs a restore operation (pghoard_restore get-basebackup), this manifest causes arbitrary file writes and directory creation outside the designated PostgreSQL data directory (pgdata). This vulnerability is tracked as CWE-22 and has a CVSS 3.1 score of 8.4, indicating high severity. The vulnerability is fixed in version 2.7.2.

Potential Impact

An attacker with write access to the backup object storage can cause arbitrary file writes and directory creation on the host system during restore operations. This can lead to full compromise of the host system, including confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:H/I:H/A:H).

Mitigation Recommendations

Upgrade pghoard to version 2.7.2 or later, where the path traversal vulnerability is fixed. Since this is a cloud-hosted service component, the vendor manages remediation for the cloud service. Administrators should ensure they are running patched versions before performing restore operations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-15T16:54:55.816Z
Cvss Version
3.1
State
PUBLISHED
Is Cloud Service
true

Threat ID: 6adb53864d27ba8daa242bc6

Added to database: 10/23/2026, 12:31:02 UTC

Last enriched: 10/23/2026, 12:45:20 UTC

Last updated: 10/23/2026, 13:31:46 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses