{"affected":[{"defaultStatus":"unaffected","product":"postgresql-logfdw","source":"CNA: AMZN","vendor":"AWS","versions":[{"lessThan":"1.5","status":"affected","version":"0","versionType":"custom"}]},{"ecosystem":"","packageName":"logfdw","product":"logfdw","source":"GitHub GHSA-g66r-x2r6-3pvc","vendor":"","versions":[{"status":"affected","version":"< 1.5","versionType":"GitHub advisory range"}]}],"cveId":"CVE-2026-139820","cwes":["CWE-23"],"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.\n\n\n\nTo 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.","epss":{"date":"2026-12-02","percentile":0.56537,"score":0.0076},"exploits":[],"kev":null,"metrics":[{"score":6.5,"severity":"medium","source":"CNA: AMZN","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"score":7.1,"severity":"high","source":"CNA: AMZN","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","version":"4.0"},{"score":7.1,"severity":"high","source":"NVD: ff89ba41-3aa1-4d27-914a-91399e9639e5","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","version":"4.0"},{"score":6.5,"severity":"medium","source":"NVD: ff89ba41-3aa1-4d27-914a-91399e9639e5","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}],"modifiedAt":1796245151949,"publishedAt":1796153687898,"references":[{"source":"CNA: AMZN","tags":["release-notes","patch"],"url":"https://github.com/aws/postgresql-logfdw/releases/tag/v1.5"},{"source":"CNA: AMZN","tags":["third-party-advisory"],"url":"https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc"},{"source":"CNA: AMZN","tags":["vendor-advisory"],"url":"https://aws.amazon.com/security/security-bulletins/2026-205-aws/"},{"source":"ff89ba41-3aa1-4d27-914a-91399e9639e5","tags":[],"url":"https://aws.amazon.com/security/security-bulletins/2026-205-aws/"},{"source":"ff89ba41-3aa1-4d27-914a-91399e9639e5","tags":[],"url":"https://github.com/aws/postgresql-logfdw/releases/tag/v1.5"},{"source":"ff89ba41-3aa1-4d27-914a-91399e9639e5","tags":[],"url":"https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc"},{"source":"GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc"}],"remediation":[{"kind":"fix","source":"CNA: AMZN","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/aws/postgresql-logfdw/releases/tag/v1.5"},{"kind":"fix","source":"GitHub GHSA-g66r-x2r6-3pvc","text":"logfdw: GitHub reports patched versions 1.5. Check the advisory for the affected release branch.","url":"https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc"}],"revision":"0fd6ac293fd3fe561616c6bb1115f612bbfe3a33798879a6473c4ed7bd8b900d","sources":[{"modifiedAt":1796245151949,"name":"CNA: AMZN","retrievedAt":1796245721687,"url":"https://www.cve.org/CVERecord?id=CVE-2026-139820"},{"modifiedAt":1796156339797,"name":"NVD","retrievedAt":1796170820299,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139820"},{"modifiedAt":1796153722000,"name":"GitHub Security Advisories","retrievedAt":1796242809242,"url":"https://github.com/aws/postgresql-logfdw/security/advisories/GHSA-g66r-x2r6-3pvc"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1796245730551,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-139820"}],"ssvc":{"assessedAt":1796245143647,"automatable":"no","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"Relative path traversal in AWS postgresql-logfdw","updatedAt":1796245730551}