AWS Fixes PostgreSQL log_fdw File-Read Path Traversal

P2 — VALIDATE AND UPDATENot provided by the authority · Not provided by the authorityEXPLOITATION: NOT STATED

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.

Open the authoritative advisory

Last verified: 2026-12-02 UTC. Recheck the authoritative advisory and supported distribution channel before changing production.

Scope And Authority

Product scopeOpen source postgresql-logfdw (log_fdw) extension
Advisory2026-205-AWS
CVECVE-2026-139820
Authoritative release date2026-12-01 19:30:00 UTC
Authority revision dateNo separate revision is stated.
Affected versionspostgresql-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 versionpostgresql-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 scoreNot provided by the authority
CVSS severityNot provided by the authority
Exploitation statusThe 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

  1. Inventory. Record PostgreSQL hosts, installed extension builds, forked code, foreign-table definitions, log directories, database roles and log_fdw grants.
  2. 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.
  3. 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.
  4. 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.
  5. 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.