CVE-2026-139820Postgresql-Logfdw Vulnerability
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…
Published Dec 1, 2026 · Updated Dec 2, 2026 · Also known as EUVD-2026-140618, GHSA-g66r-x2r6-3pvc
Key Facts
Patch in the next maintenance window- CVE-2026-139820 is a high-severity vulnerability (CVSS 7.1 v4) affecting Postgresql-Logfdw (Aws).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 0.8% probability of exploitation in the next 30 days.
- Fixed versions are available, including Postgresql-Logfdw 1.5.
- Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Scores
CVSS v4
7.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS (30-day exploit likelihood)
0.8%
Higher than 56.5% of all scored CVEs
Exploit maturity
None known
ATLAS score
26/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
3 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Postgresql-LogfdwAws | See advisory | 1.5 |
Patched Releases
Postgresql-Logfdw
1.5
Timeline
Publicly disclosed
Dec 1, 2026
Last updated
Dec 2, 2026
Weakness Type
- CWE-23 Relative Path Traversal
References
FAQ
Common Questions.
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.
Affected: Postgresql-Logfdw (Aws). The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Postgresql-Logfdw 1.5.
Brandefense priority: patch in the next maintenance window, because of its high severity, although no exploitation is known.
Is CVE-2026-139820 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo