# CVE-2026-139820: Relative path traversal in AWS postgresql-logfdw

- Priority: **Routine**
- Reason: Not severe (CVSS 7.1, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-01 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-139820 · JSON: https://cvemate.com/vulnerability/CVE-2026-139820/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v4.0, CVE.org) 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: 0.76%, percentile 56.654%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- aws postgresql-logfdw: \< 1.5

## References

- <https://github.com/aws/postgresql-logfdw/releases/tag/v1.5>
- <https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc>
- <https://aws.amazon.com/security/security-bulletins/2026-205-aws/>

---

Data as of 2026-12-05T10:11:05.266Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
