All reports
Medium

postgresql: Uncontrolled search path element in logical replication

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2020-14349

Probability of exploitation in the next 30 days: 2.24%

FIRST EPSS · 2026-11-20

Description

It was found that PostgreSQL versions before 12.4, before 11.9 and before 10.14 did not properly sanitize the search_path during logical replication. An authenticated attacker could use this flaw in an attack similar to CVE-2018-1058, in order to execute arbitrary SQL command in the context of the user used for replication.

A flaw was found in PostgreSQL, where it did not properly sanitize the search_path during logical replication. This flaw allows an authenticated attacker to use this flaw in an attack similar to CVE-2018-1058 to execute an arbitrary SQL command in the user's context for replication. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.