AWS Fixes PostgreSQL log_fdw File-Read Path Traversal
Quick Answer
Inventory log_fdw installations and grants, update the extension to 1.5 or later, and correct non-plain foreign-table file names. If an update must wait, revoke the described non-superuser grants as AWS directs.
Confirm Scope And Apply The Supported Remediation
What to do now: Record PostgreSQL hosts, installed extension builds, forked code, foreign-table definitions, log directories, database roles and log_fdw grants. Determine whether a non-superuser has log_fdw privileges and which files the database server process can read. This is not a generic unauthenticated PostgreSQL vulnerability. Upgrade to postgresql-logfdw 1.5 or later and incorporate the correction in forks. Recreate or alter foreign tables with non-plain file names. If unable to upgrade, revoke log_fdw privileges from non-superuser roles that should not read outside the log directory. Validate the deployed extension and authorized log queries, corrected table definitions and role grants. Retain database audit evidence and investigate unexpected foreign-table definitions or access as warranted.
Last verified: 2026-12-02 UTC. Recheck the authoritative advisory and supported distribution channel before changing production.
Scope And Authority
| Product scope | Open source postgresql-logfdw (log_fdw) extension |
|---|---|
| Advisory | 2026-205-AWS |
| CVE | CVE-2026-139820 |
| Authoritative release date | 2026-12-01 19:30:00 UTC |
| Authority revision date | No separate revision is stated. |
| Affected versions | postgresql-logfdw before 1.5. A non-superuser role needs granted log_fdw privileges and can target files readable by the database server process outside its configured log directory. |
| Fixed version | postgresql-logfdw 1.5 or later; recreate or alter foreign tables whose configured file name is not a plain file name in the log directory. |
| CVSS base score | Not provided by the authority |
| CVSS severity | Not provided by the authority |
| Exploitation status | The cited authority does not confirm exploitation in the wild.; no exploitation claim is inferred. |
What Changed
AWS bulletin 2026-205-AWS identifies relative path traversal in foreign-table file name validation. A privileged log_fdw user can read outside the intended log directory within the database server process permissions.
What To Validate Now
- Inventory. Record PostgreSQL hosts, installed extension builds, forked code, foreign-table definitions, log directories, database roles and log_fdw grants.
- Establish applicability. Determine whether a non-superuser has log_fdw privileges and which files the database server process can read. This is not a generic unauthenticated PostgreSQL vulnerability.
- Remediate. Upgrade to postgresql-logfdw 1.5 or later and incorporate the correction in forks. Recreate or alter foreign tables with non-plain file names. If unable to upgrade, revoke log_fdw privileges from non-superuser roles that should not read outside the log directory.
- Validate. Validate the deployed extension and authorized log queries, corrected table definitions and role grants. Retain database audit evidence and investigate unexpected foreign-table definitions or access as warranted.
- Retain evidence. Preserve asset and owner identifiers, the applicability decision, before-and-after versions, change approval, installation output, validation results, and any exception or rollback record.
Operational Cautions
The extension update and table/grant review are separate actions. Preserve existing definitions and audit evidence before changes; coordinate any loss of delegated log access with database operations. AWS does not publish a CVSS score or severity rating in the bulletin.
Evidence To Retain
- Exact product, release stream, package or application version, enabled feature, environment, and accountable owner.
- UTC timestamps, authority revision, approved change record, installer or package-manager output, and resulting version.
- Relevant logs and monitoring evidence, test results, exceptions, compensating controls, and rollback decisions.
Related TechGeeks Resources
Authoritative References
Correction policy: If the authority changes affected versions, fixed versions, severity, exploitation information, mitigations, or required action, TechGeeks will update this notice and its verification date.

