CVE-2026-139820 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-139820 |
|---|---|
| Base Severity / Score | MEDIUM (6.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| Weakness Classification | CWE-23 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://aws.amazon.com/security/security-bulletins/2026-205-aws/
- https://github.com/aws/postgresql-logfdw/releases/tag/v1.5
- https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc