Home / AWS / postgresql-logfdw / CVE-2026-139820
CVE-2026-139820: is it exploited, and which versions of AWS postgresql-logfdw are affected and fixed?
CVE-2026-139820 is a path traversal vulnerability in AWS postgresql-logfdw. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: postgresql-logfdw before 1.5 (CVE record by AMZN). Fixed in 1.5 (CVE record by AMZN). Severity: High (7.1, CVSS 3.1, from AMZN).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record December 2, 2026, 21:10 UTC and NVD December 2, 2026, 22:13 UTC.
What is CVE-2026-139820?
Relative path traversal in AWS postgresql-logfdw
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.
From the CVE record by AMZN, last updated December 2, 2026, 20:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| AWS | postgresql-logfdw | before 1.5 | 1.5 |
As the CVE record by AMZN states it, last updated December 2, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-139820?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | AMZN |
| High 7.1 | CVSS 4.0 | 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 | AMZN |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-139820 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 2, 2026)
- EPSS
- 0.76% probability of exploitation activity in the next 30 days, percentile 56.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-23 Relative Path Traversal
Where are the vendor advisories and references?
- https://github.com/aws/postgresql-logfdw/releases/tag/v1.5 release-notes, patch
- https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc third-party-advisory
- https://aws.amazon.com/security/security-bulletins/2026-205-aws/ vendor-advisory
When was it published, and where is the official record?
- Reserved
- November 30, 2026
- Published
- December 1, 2026, 19:34 UTC
- CVE record updated
- December 2, 2026, 20:59 UTC by AMZN
- NVD
- Awaiting Analysis, last modified December 2, 2026, 21:18 UTC
- Last checked
- CVE list December 2, 2026, 21:10 UTC; NVD December 2, 2026, 22:13 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-139820
Is CVE-2026-139820 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.76% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of AWS postgresql-logfdw are affected by CVE-2026-139820?
postgresql-logfdw before 1.5, per the CVE record by AMZN. The tables above give every range the sources list.
Which version fixes CVE-2026-139820?
1.5, per the CVE record by AMZN. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-139820?
High (7.1, CVSS 3.1, from AMZN). The severity table above shows each score with its source.
Where is the official record of CVE-2026-139820?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.