CVE-2026-139820
7.1high
Relative path traversal in AWS postgresql-logfdw
- Severity
- 7.1high CVSS:4.0 by AMZN
- Published
- Last changed
- Assigned by
- AMZN
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
| Product or package | Versions | Reported by |
|---|---|---|
| AWS postgresql-logfdw | before 1.5 | CVE List |
All scores
| AMZN | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| AMZN | 7.1high 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 |
Classification
References
| https://github.com/aws/postgresql-logfdw/releases/tag/v1.5 | patch, release-notes | |
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139820 changed 2026-12-01 | CVE Terms of Use |
| NVD | CVE-2026-139820 changed 2026-12-01 | Public domain |