CVE-2026-139820

Source
https://cve.org/CVERecord?id=CVE-2026-139820
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139820.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139820
Aliases
  • GHSA-g66r-x2r6-3pvc
Published
2026-12-01T19:34:47Z
Modified
2026-12-01T21:02:40Z
Severity
  • 7.1 (High) CVSS_V4 - 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 CVSS Calculator
Summary
Relative path traversal in AWS postgresql-logfdw
Details

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.

Database specific
{
    "cna_assigner":  "AMZN",
    "cwe_ids":  [
        "CWE-23"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139820.json"
}
References

Affected packages

Git / github.com/aws/postgresql-logfdw

Affected ranges

Type
GIT
Repo
https://github.com/aws/postgresql-logfdw
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.5"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "original_tag":  "v1.5",
            "range":  [
                {
                    "fixed":  "08d27c669bd733c76f0dd356698aa726ed90a0df"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139820.json"