CVE-2026-139820

Severity CVSS v4.0:
HIGH
Type:
CWE-23 Relative Path Traversal
Publication date:
01/12/2026
Last modified:
01/12/2026

Description

Relative path traversal in the foreign table file name validation in the AWS postgresql-logfdw (log_fdw) extension before version 1.5 allows an authenticated non-superuser user who has been granted log_fdw privileges to read files outside the configured log directory via a crafted foreign table file name. The user can only read files that the database server process has permission to read. To remediate this issue, users should upgrade to version 1.5 or later and recreate or alter any foreign table whose file name is not a plain file name in the log directory.