7.1
HIGH CVSS 4.0
CVE-2026-139820
Relative path traversal in AWS postgresql-logfdw
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.

INFO

Published Date :

Dec. 1, 2026, 7:34 p.m.

Last Modified :

Dec. 1, 2026, 7:34 p.m.

Remotely Exploit :

Yes !

Source :

AMZN
Affected Products

The following products are affected by CVE-2026-139820 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Aws postgresql-logfdw
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM ff89ba41-3aa1-4d27-914a-91399e9639e5
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 4.0 HIGH ff89ba41-3aa1-4d27-914a-91399e9639e5
Solution
Upgrade log_fdw to 1.5+ and alter foreign tables to fix file access.
  • Upgrade the log_fdw extension to version 1.5 or later.
  • Recreate or alter affected foreign tables.
  • Ensure file names are plain and within the log directory.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139820 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.