Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › AWS

CVE-2026-139820 — AWS postgresql-logfdw

High · CVSS 7.1 First seen December 01, 2026
AWSWebCloud & containersDatabasesVulnerabilities

Summary

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.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

High · 7.1 CVSS 4.0 base score from the CNA

An attacker with a normal user account can exploit this over the network, without any user action.

Attack from
the network (remotely)
Attack complexity
low (no special conditions)
Special conditions
none
Login needed
yes, a normal user account
User action needed
no
Impact
high on confidentiality, none on integrity and availability
Impact on other systems
none

Vector 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X · CVSS 3.1 6.5 from the CNA: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weakness

  • CWE-23: Relative Path Traversal

Affected and fixed versions

ProductAffected versionsFixed in
AWS postgresql-logfdw< 1.51.5

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Vendor advisories

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • AWS postgresql-logfdw

What to do

  • Check whether you run an affected product or version and apply the vendor's update or mitigation.
  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-139820?

Relative path traversal in the foreign table file name validation in the AWS postgresql-logfdw (logfdw) extension before version 1.5 allows an authenticated non-superuser user who has been granted logfdw 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. Weakness type: Relative Path Traversal (CWE-23).

How severe is CVE-2026-139820?

CVE-2026-139820 has a CVSS 4.0 base score of 7.1 (high), from the CNA. An attacker with a normal user account can exploit this over the network, without any user action.

Is CVE-2026-139820 being exploited?

Not as far as is known: CVE-2026-139820 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.

Which versions are affected by CVE-2026-139820?

AWS postgresql-logfdw < 1.5 (fixed in 1.5).

How do I fix CVE-2026-139820?

Update to a fixed release: AWS postgresql-logfdw 1.5.

Timeline & sources

References

Related vulnerabilities & news